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
Randy Mackay
bcfb7786aa
Rover: 4.3.0-beta12 release notes
2023-03-27 11:11:53 +09:00
Andrew Tridgell
7ba2694c5f
Plane: prepare for 4.3.5 stable
2023-03-27 11:11:53 +09:00
Andrew Tridgell
c480aca3a0
Plane: release notes for 4.3.5
2023-03-27 11:11:53 +09:00
Andy Piper
a86e18a09d
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:11:53 +09:00
Andy Piper
b936b474ed
AP_HAL_ChibiOS: ensure that DMA source is correct on DMA send for rcout
2023-03-27 11:11:53 +09:00
Randy Mackay
53c106a7d4
Copter: version to 4.3.6-beta1
2023-03-26 11:53:36 +09:00
Randy Mackay
353124a238
Copter: 4.3.6-beta release notes
2023-03-26 11:53:36 +09:00
Randy Mackay
52d359d09e
Rover: version to 4.3.0-beta11
2023-03-26 11:53:36 +09:00
Randy Mackay
374660e1e6
Rover: 4.3.6-beta11 release notes
2023-03-26 11:53:36 +09:00
Andrew Tridgell
b35d3edb3d
Plane: prepare for 4.3.5beta1
2023-03-26 11:53:36 +09:00
Andrew Tridgell
a318ce8b64
Plane: release notes for 4.3.5beta1
2023-03-26 11:53:36 +09:00
Andrew Tridgell
411a15699a
HAL_ChibiOS: switched to 64 bit maths for DShot timings
...
this fixes a timer wrap bug at 71 minutes after boot that impacts
bdshot
2023-03-26 11:53:36 +09:00
bugobliterator
c33653cd4e
bootloaders: add CubeOrangePlus-bdshot bootloader
2023-03-22 18:29:17 +11:00
bugobliterator
3d1e280e84
AP_HAL_ChibiOS: add CubeOrangePlus-bdshot hwdef
2023-03-22 18:29:17 +11:00
Leonard Hall
64b84a942c
AutoTest: Remove extra line
2023-03-14 08:38:00 +09:00
Pierre Kancir
287cf0c920
Tools: fix flake8 checks
2023-03-14 08:38:00 +09:00