Commit Graph

55180 Commits

Author SHA1 Message Date
Randy Mackay 74ae42eaca autotest: relax Copter vibration failsafe timeout 2023-08-16 09:54:47 +09:00
Andrew Tridgell e7589062dc Plane: prepare for 4.3.8-beta1 2023-08-16 09:54:47 +09:00
Andrew Tridgell de9aae7232 Plane: release notes for 4.3.8-beta1 2023-08-16 09:54:47 +09:00
Andrew Tridgell 4e125175ad AP_BattMonitor: fixed reset_remaining() for INAxxx and LTC2946
these can use the generic reset_remaining() call in the backend
2023-08-16 09:54:47 +09:00
Andrew Tridgell 8a27687226 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 09:54:47 +09:00
Andrew Tridgell 4566b91945 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 09:54:47 +09:00
bugobliterator 03723871e2 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 09:54:47 +09:00
Andrew Tridgell fb1acd2065 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 09:54:47 +09:00
Nicholas Ionata 3d43308dd1 Plane: reset target altitude time on mode enter 2023-08-16 09:54:47 +09:00
Andrew Tridgell 76cf1dd7e0 Plane: final release notes for 4.3.7 2023-08-16 09:54:47 +09:00
Randy Mackay 2310741e9b Copter: version to 4.3.7 2023-05-31 09:56:20 +09:00
Randy Mackay 5ac323237f Copter: 4.3.7 release notes 2023-05-31 09:56:20 +09:00
Andrew Tridgell a49a04c043 Plane: prepare for 4.3.7 final 2023-05-31 09:56:20 +09:00
Andrew Tridgell 8b0f2a555a AP_BoardConfig: fixed documentation of safety options
on and off were reversed
2023-05-31 09:56:20 +09:00
Andrew Tridgell d49dbc16dc Plane: prepare for 4.3.7beta1 release 2023-05-31 09:56:20 +09:00
Randy Mackay 9a80387af7 Copter: version to 4.3.7-beta1 2023-05-25 11:03:52 +09:00
Randy Mackay f9dc2ea224 Copter: 4.3.7-beta1 release notes 2023-05-25 11:03:52 +09:00
Randy Mackay 08d1d6a4ba Rover: version to 4.3.0-beta13 2023-05-25 11:03:52 +09:00
Randy Mackay e197fdd098 Rover: 4.3.0-beta13 release notes 2023-05-25 11:03:52 +09:00
Andrew Tridgell 5a74ade767 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:03:52 +09:00
Andrew Tridgell 08afbd2539 Tools: rebuild IO firmware 2023-05-25 11:03:52 +09:00
Andrew Tridgell 55ab1160de 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:03:52 +09:00
Andrew Tridgell 48d9a676ac 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:03:52 +09:00
bugobliterator c2c7aba277 AP_InertialSensor: fix hardfault in BatchSampler 2023-05-25 11:03:52 +09:00
Andrew Tridgell f4a6e7d7ac Plane: release notes for 4.3.6-beta1 2023-05-25 11:03:52 +09:00
Andrew Tridgell 71e8a21d44 Plane: backport fix for AirMode on quadplanes 2023-05-25 11:03:52 +09:00
Andrew Tridgell 99a17bde11 Tools: disable python cleanliness tests for 4.3 2023-05-25 11:03:52 +09:00
Andrew Tridgell a5fd48d47f ChibiOS: backport RCC reset fix for 4.3 2023-05-25 11:03:52 +09:00
Paul Riseborough fef6345c2f 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:03:52 +09:00
Paul Riseborough da7a4b47ed AP_NavEKF3: Strengthen recovery from bad delta velocity bias learning 2023-05-25 11:03:52 +09:00
Paul Riseborough 04d21fc368 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:03:52 +09:00
Paul Riseborough 69b26836f0 AP_NavEKF3: Retune and fix delta velocity bias state variance protection 2023-05-25 11:03:52 +09:00
Andy Piper 153a665082 AP_NavEKF: ensure gyro biases are numbers
avoid errors during compass mot
2023-05-25 11:03:52 +09:00
Peter Barker 9b069a0eb7 AP_EFI: use uint16_t to store offset
prevents infinite loop if there are exactly 255 bytes ready to read
2023-05-25 11:03:52 +09:00
Andrew Tridgell 39607a2895 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:03:52 +09:00
Randy Mackay fc2c24ce15 Copter: version to 4.3.6 2023-05-25 11:03:52 +09:00
Randy Mackay cc23e00f57 Copter: 4.3.6 release notes 2023-05-25 11:03:52 +09:00
Randy Mackay cdc1380164 Copter: version to 4.3.6-beta2 2023-03-27 11:14:48 +09:00
Randy Mackay 9725b1e31a Copter: 4.3.6-beta2 release notes 2023-03-27 11:14:48 +09:00
Randy Mackay d3d42b1cf0 Rover: version to 4.3.0-beta12 2023-03-27 11:14:47 +09:00
Randy Mackay 937e2c21d4 Rover: 4.3.0-beta12 release notes 2023-03-27 11:14:47 +09:00
Andrew Tridgell 2973586012 Plane: prepare for 4.3.5 stable 2023-03-27 11:14:47 +09:00
Andrew Tridgell 55ec45ab08 Plane: release notes for 4.3.5 2023-03-27 11:14:47 +09:00
Andy Piper 750a914cce AP_HAL_ChibiOS: ensure the rcout TIM_UP DMA request source is re-instated after cancellation
This fixes a bug in bdshot whereby dma cancellation could result in the wrong DMA channel
being used for dshot output and hence motors stopping
2023-03-27 11:14:47 +09:00
Andy Piper 6dda5b223c AP_HAL_ChibiOS: ensure that DMA source is correct on DMA send for rcout 2023-03-27 11:14:47 +09:00
Randy Mackay e4313a0242 Copter: version to 4.3.6-beta1 2023-03-26 11:57:57 +09:00
Randy Mackay fd865d2c15 Copter: 4.3.6-beta release notes 2023-03-26 11:57:57 +09:00
Randy Mackay ba46b60e70 Rover: version to 4.3.0-beta11 2023-03-26 11:57:57 +09:00
Randy Mackay 2d366e2d32 Rover: 4.3.6-beta11 release notes 2023-03-26 11:57:57 +09:00
Andrew Tridgell 2fe35da7b0 Plane: prepare for 4.3.5beta1 2023-03-26 11:57:57 +09:00