Commit Graph

61408 Commits

Author SHA1 Message Date
Andrew Tridgell
2ba3ac0a9e AP_Networking: fixed a lockup bug in network ports
we need to not hold the write semaphore when calling network socket
calls. This fixes a critical error where network sockets block due to
low level PPP issues while main thread is going mavlink sends
2024-01-10 18:07:29 +11:00
Ferruccio Vicari
8bfd8f2403 AP_Scripting: script for idle control (gas helicopters)
allows manual and/or automatic engine rpm control during ground idling

fix for conversion to float

rename fix
2024-01-09 22:29:50 -05:00
Iampete1
416a41e756 AP_HAL_ChibiOS: Only test SPI clock if SPI is enabled 2024-01-10 13:46:40 +11:00
Randy Mackay
fa5e58d652 AP_Mount: switch to RC_TARGETING on RC input 2024-01-10 09:48:00 +09:00
Mirko Denecke
6038a4d8c7 AR_Motors: fix prearm for omni outputs 2024-01-10 09:47:03 +09:00
Peter Barker
d2400ad39b AP_OpticalFlow: correct names of variables in HereFlow OF driver
my guess is that the heavy maths was moved out of the timer function
2024-01-10 09:44:58 +11:00
Bob Long
eb10b81964 Tools: uploader.py: set write_timeout
This is needed to prevent Windows from hanging when trying to write to
"Standard Serial over Bluetooth" ports.
2024-01-09 01:32:16 -08:00
JanMaciuk
511659e6ee Copter: Throw mode check altitude within params 2024-01-09 11:29:00 +09:00
David Buzz
b65313303f AP_HAL_ESP32: analog warning fix 2024-01-09 11:15:21 +11:00
Maxim Buzdalov
809e15acf4 hwdef: Add pinout for Flywoo GOKU F745 AIO v1.2 2024-01-09 10:57:29 +11:00
Michael du Breuil
ae256b168e AP_Scripting: Add bindings for jump to landing and abort in the mission 2024-01-09 10:55:06 +11:00
Jacob Olson
689a5c7b52 SITL: SIM_Frame: fixed per_motor_vars config loading 2024-01-09 10:53:33 +11:00
Peter Barker
3691fdadc8 ArduCopter: be more consistent withb our defines around optional features 2024-01-09 10:51:55 +11:00
Peter Barker
35f1fdf0d8 AP_Arming: be more consistent withb our defines around optional features 2024-01-09 10:51:55 +11:00
Andrew Tridgell
098277ce6a AP_Scripting: added ANX CAN battery driver 2024-01-09 07:53:59 +11:00
Andrew Tridgell
70d6788855 AP_Scripting: update docs 2024-01-09 07:53:59 +11:00
Bob Long
1ffda7ef3c AP_Scripting: add scripting backend
AP_BattMonitor_Scripting: whitespace consistency
2024-01-09 07:53:59 +11:00
Bob Long
fd855781d8 AP_BattMonitor: add scripting backend
AP_BattMonitor_Scripting: whitespace consistency
2024-01-09 07:53:59 +11:00
Randy Mackay
0cf616044c AC_WPNav: ACCEL_C defaults to 2x ACCEL 2024-01-08 19:36:16 +09:00
Peter Barker
3a37796eb2 SITL: move simulated height_agl into fdm structure
allows value to be shipped via multicast to simulated peripherals
2024-01-08 20:00:01 +11:00
Peter Barker
c583edc34b AP_Proximity: move simulated height_agl into fdm structure
allows value to be shipped via multicast to simulated peripherals
2024-01-08 20:00:01 +11:00
Peter Barker
b1311d6d25 AP_OpticalFlow: move simulated height_agl into fdm structure
allows value to be shipped via multicast to simulated peripherals
2024-01-08 20:00:01 +11:00
Peter Barker
7201eae4ed AP_HAL_SITL: move simulated height_agl into fdm structure
allows value to be shipped via multicast to simulated peripherals
2024-01-08 20:00:01 +11:00
Peter Barker
147c5ad78d AP_HAL: move simulated height_agl into fdm structure
allows value to be shipped via multicast to simulated peripherals
2024-01-08 20:00:01 +11:00
coleschon
af898220e7 AP_TECS: improve velRateMin scaling wrt airspeed 2024-01-08 17:10:28 +11:00
Andrew Tridgell
efac52136b AP_Scripting: fixed memory leak in sendfile()
this leaked the SocketAPM on each sendfile() call, we now rely on the
script calling close(). The net_webserver.lua is already using close()
correctly, this change just makes close able to find the socket
2024-01-08 13:01:02 +11:00
Andrew Tridgell
7292c89766 AP_Networking: auto-restart PPP on error
this makes it easier to handle startup timing with PPP
2024-01-07 13:07:24 -08:00
Peter Barker
5acf58c310 autotest: add test for receiving base messages 2024-01-07 13:04:03 -08:00
Peter Barker
77afdf1539 Tracker: stream BATTERY_STATUS by default
... if a user has set up a monitor they almost certainly want this
2024-01-07 13:04:03 -08:00
David Buzz
ca32c8a873 AP_HAL_ESP32 : this was an attempt at resolving watchdog issues , now just needs to go
superceeded by b9ac504d0d
2024-01-08 07:49:25 +11:00
bugobliterator
57ccac308d AP_HAL_ChibiOS: Add readme file to Here4 FC 2024-01-08 07:05:34 +11:00
bugobliterator
c693d4f0e4 Tools: add Here4FC bootloaders 2024-01-08 07:05:34 +11:00
bugobliterator
ec15951b06 AP_HAL_ChibiOS: add hwdef for Here4FC 2024-01-08 07:05:34 +11:00
bugobliterator
bea8b25c5d AP_HAL_ChibiOS: add support for early initialisation of WATCHDOG
This is needed for Ardupilot Vehicle builds running on AP_Periph bootloaders
2024-01-08 07:05:34 +11:00
Andrew Tridgell
8ddfa02575 Tools: fixed est32 gdb init 2024-01-07 20:51:55 +11:00
Andrew Tridgell
3fd907ddce HAL_ESP32: use faster div1000 2024-01-07 20:51:55 +11:00
Andrew Tridgell
d90a4654a7 HAL_ESP32: allow for building with sim on hw 2024-01-07 20:51:55 +11:00
Andrew Tridgell
6c88111267 SITL: fixed build with sim on hw 2024-01-07 20:51:55 +11:00
Andrew Tridgell
9c8fa7f58c AP_InertialSensor: fixed build of NONE backend
conflict with rand_float()
2024-01-07 20:51:55 +11:00
Andrew Tridgell
7d1cc14b1e AP_HAL: fixed build with AP_SIM_ENABLED 2024-01-07 20:51:55 +11:00
Andrew Tridgell
e6528eaaae AP_FrskyTelem: fixed warning on ESP32 2024-01-07 20:51:55 +11:00
Andrew Tridgell
c7c0680352 waf: enable sim on hw for esp32 empty builds 2024-01-07 20:51:55 +11:00
Andrew Tridgell
40e9b94f58 CI: test sim-on-hw build in CI 2024-01-07 20:51:55 +11:00
Henry Wurzburg
ce4a450d3a AP_Network:add reboot req'd metadata to params missing it 2024-01-07 01:15:34 -08:00
Andrew Tridgell
6ea2c28a4d HAL_ChibiOS: fixed DMA on SPI on H743
this fixes DMA failures affecting IMUs on H743. The reason for the
failure is not yet clear, but this reverts back to our old stragegy of
always using the bouncebuffer on H7 as a quick workaround
2024-01-07 19:10:25 +11:00
David Buzz
08a09d04dc HAL_ESP32: bring S3's sdkconfig closer to classic , and optimise wifi on classic 2024-01-07 18:37:56 +11:00
David Buzz
9e8c16d15e AP_HAL_ESP32: S3 also needs change to storage sector size to 128K
just completing this PR for the S3..
fa70a56a65
2024-01-07 18:37:04 +11:00
David Buzz
678474614f AP_HAL_ESP32: Update the WiFi init code to the newer ESP-IDF (4.2+) and
mostly by TByte007 from here, but fixed and re-tested.
https://github.com/ArduPilot/ardupilot/pull/24527/commits
2024-01-07 18:36:08 +11:00
David Buzz
5560bd8ed8 esp32 CI typo, sorry tridge 2024-01-07 16:30:21 +11:00
Andrew Tridgell
30ad0560f4 Tools: added CAN playback tool
uses frames from lua CAN bus capture and plays back for driver
development
2024-01-07 12:23:39 +11:00