Commit Graph

55190 Commits

Author SHA1 Message Date
Andrew Tridgell e2041b0ae7 AP_Scripting: fixed float register save/restore in setjmp/longjmp
the register save must happen before the setjmp() call, which means
outside of the LUAI_TRY() macro. We also should be saving all 32
floating point registers
2024-05-31 09:44:38 +10:00
Andrew Tridgell 228725a976 CI: force empty version 3.3.4 2024-05-31 09:44:36 +10:00
Andrew Tridgell 8cdf50a1a0 Tools: force pymonocypher version 2024-05-31 09:44:33 +10:00
Peter Barker 763712a04a AP_GPS: correct uBlox M10 configuration on minimised boards 2023-11-14 10:35:03 +11:00
Randy Mackay 60ebf6fbb9 Copter: version to 4.3.8 2023-08-24 20:19:32 +09:00
Randy Mackay 8efd0bc045 Copter: 4.3.8 release notes 2023-08-24 20:19:32 +09:00
Randy Mackay cb935d037c Copter: version to 4.3.8-beta1 2023-08-16 08:24:06 +09:00
Randy Mackay b63b671615 Copter: 4.3.8-beta1 release notes 2023-08-16 08:24:06 +09:00
Randy Mackay 12f9fe73ae Rover: version to 4.3.0-beta14 2023-08-16 08:24:06 +09:00
Randy Mackay a21cd2c9a4 Rover: 4.3.0-beta14 release notes 2023-08-16 08:24:06 +09:00
Randy Mackay a06660ee00 autotest: relax Copter vibration failsafe timeout 2023-08-16 08:24:06 +09:00
Andrew Tridgell fd405b65f9 Plane: prepare for 4.3.8-beta1 2023-08-16 08:24:06 +09:00
Andrew Tridgell 69c66ce6b8 Plane: release notes for 4.3.8-beta1 2023-08-16 08:24:06 +09:00
Andrew Tridgell 7055abc269 AP_BattMonitor: fixed reset_remaining() for INAxxx and LTC2946
these can use the generic reset_remaining() call in the backend
2023-08-16 08:24:06 +09:00
Andrew Tridgell 544e38cf82 AP_GPS: fixed RTK injection when first module is a BASE
this is a partial backport of #24132 which fixes RTK injection when
the 1st GPS module is a DroneCAN RTK rover. Without this change RTCM
injection for RTK fix on the base will only work if it happens to come
up as the first module
2023-08-16 08:24:06 +09:00
Andrew Tridgell 16d617c62d AP_Arming: fixed auto-enable of fence with forced arm
when a user forced armed and had FENCE_AUTOENABLE=3 for enable on
arming then the fence did not enable
2023-08-16 08:24:06 +09:00
bugobliterator e6280e6d37 AP_Scripting: stash and restore FPU register context in LUAI_TRY
this fixes an issue where a lua library function triggers an exception
after it does a math operation which changes the floating point
registers on M7 MCUs (such as STM32H7). An example is math.random()
which calls math_random(), which pre-calculates a double value before
checking if the arguments to the call are valid. When it then checks
and finds invalid values the exception longjmp does not restore the
floating point registers.
2023-08-16 08:24:06 +09:00
Andrew Tridgell b1505a5f7a AP_NavEKF3: fixed race condition in updateFilterStatus()
filter status was initially set to zero then updated. This interacts
with the IMU filtering code which checks filter status from a
different thread to determine active_EKF_type(). When the race
condition is hit then the IMU we are running notch filters on changes
for a single sample, causing a notch filter glitch
2023-08-16 08:24:06 +09:00
Nicholas Ionata 3b36cd351c Plane: reset target altitude time on mode enter 2023-08-16 08:24:06 +09:00
Andrew Tridgell 7ddb027fb7 Plane: final release notes for 4.3.7 2023-08-16 08:24:06 +09:00
Randy Mackay c8506ed478 Copter: version to 4.3.7 2023-05-31 09:51:29 +09:00
Randy Mackay a74464ac13 Copter: 4.3.7 release notes 2023-05-31 09:51:29 +09:00
Andrew Tridgell 65adf4e532 Plane: prepare for 4.3.7 final 2023-05-31 09:51:29 +09:00
Andrew Tridgell ffdbf532c4 AP_BoardConfig: fixed documentation of safety options
on and off were reversed
2023-05-31 09:51:29 +09:00
Andrew Tridgell 12d132e88f Plane: prepare for 4.3.7beta1 release 2023-05-31 09:51:29 +09:00
Randy Mackay 7de44995e9 Copter: version to 4.3.7-beta1 2023-05-25 11:33:10 +10:00
Randy Mackay 8e17237d38 Copter: 4.3.7-beta1 release notes 2023-05-25 11:33:10 +10:00
Randy Mackay eaf2f4b1fe Rover: version to 4.3.0-beta13 2023-05-25 11:33:10 +10:00
Randy Mackay 1982ae90c1 Rover: 4.3.0-beta13 release notes 2023-05-25 11:33:10 +10:00
Andrew Tridgell ab43186189 AP_ICEngine: fixed a bug engine control when running
if you have a mission item for engine control with delayed start at
height and the engine is already running them it would put the ICE
subsystem into a state where it would no longer start the engine

It was actually 2 bugs:

 - an engine control to do a height delayed start should be ignored if
   the engine is already running. This prevents an engine control to
   start the engine from stopping the engine

 - a start_chan high should always try to start the engine
   immediately, even if in the wait state
2023-05-25 11:33:10 +10:00
Andrew Tridgell d7cf6528ac Tools: rebuild IO firmware 2023-05-25 11:33:10 +10:00
Andrew Tridgell c868ac5fe4 AP_RCProtocol: return true on initial protocol detection
we need to tell the IO firmware that a byte was consumed when we first
detect a protocol as otherwise the next bad byte on DSM will lock us
on the DSM port
2023-05-25 11:33:10 +10:00
Andrew Tridgell 71cbcb49f5 AP_IOMCU: fixed issue with not regaining RC input
this fixes an issue where when you lose R/C input on IOMCU that you
may not regain it when R/C comes back.

The issue stems from us still processing the DSM uart when we are
using the SD3 "SBUS" uart for RC input, and still doing the switch of
the SD3 config every 2 seconds.

When we are not searching for a new protocol we should not be changing
UART config
2023-05-25 11:33:10 +10:00
bugobliterator 99ff763995 AP_InertialSensor: fix hardfault in BatchSampler 2023-05-25 11:33:10 +10:00
Andrew Tridgell 959b520b27 Plane: release notes for 4.3.6-beta1 2023-05-25 11:33:10 +10:00
Andrew Tridgell de0b564458 Plane: backport fix for AirMode on quadplanes 2023-05-25 11:33:10 +10:00
Andrew Tridgell 534536664a Tools: disable python cleanliness tests for 4.3 2023-05-25 11:33:10 +10:00
Andrew Tridgell 553207dc58 ChibiOS: backport RCC reset fix for 4.3 2023-05-25 11:33:10 +10:00
Paul Riseborough 255df7c8b5 AP_NavEKF3: Increase delta velocity bias state process noise
Required due to state variance collapse on ground with some systems using RTK GPS.
2023-05-25 11:33:10 +10:00
Paul Riseborough b6b5a0121a AP_NavEKF3: Strengthen recovery from bad delta velocity bias learning 2023-05-25 11:33:10 +10:00
Paul Riseborough 119a8bb357 AP_NavEKF3: Increase default value of EK3_ABIAS_P_NSE
This is required because some hardware setups with RTK GPS have experienced a collapse of the delta velocity state variances.
2023-05-25 11:33:10 +10:00
Paul Riseborough 96546804b4 AP_NavEKF3: Retune and fix delta velocity bias state variance protection 2023-05-25 11:33:10 +10:00
Andy Piper fc7f182214 AP_NavEKF: ensure gyro biases are numbers
avoid errors during compass mot
2023-05-25 11:33:10 +10:00
Peter Barker 708124183d AP_EFI: use uint16_t to store offset
prevents infinite loop if there are exactly 255 bytes ready to read
2023-05-25 11:33:10 +10:00
Andrew Tridgell 5b9ac1fdc1 waf: added -g option to configure
this adds debug symbolds to the build without enabling other debug
code. This is needed for analysing watchdog crash dumps
2023-05-25 11:33:10 +10:00
Randy Mackay 0c5e999c44 Copter: version to 4.3.6 2023-04-06 09:16:25 +10:00
Randy Mackay 9b917fc9d1 Copter: 4.3.6 release notes 2023-04-06 09:16:25 +10:00
Randy Mackay 6ca9b4d7b7 Copter: version to 4.3.6-beta2 2023-03-27 11:11:53 +09:00
Randy Mackay a25289b321 Copter: 4.3.6-beta2 release notes 2023-03-27 11:11:53 +09:00
Randy Mackay 1de151f5cd Rover: version to 4.3.0-beta12 2023-03-27 11:11:53 +09:00