Commit Graph

55173 Commits

Author SHA1 Message Date
bugobliterator
b6d1a74b24 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-17 08:44:37 +10:00
Andrew Tridgell
5df9968fee 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-17 08:44:37 +10:00
Nicholas Ionata
2bc7b7e348 Plane: reset target altitude time on mode enter 2023-08-08 11:05:21 +10:00
Andrew Tridgell
2d1a8a28bd Plane: final release notes for 4.3.7 2023-05-31 11:34:27 +10:00
Randy Mackay
cd3c64723d Copter: version to 4.3.7 2023-05-31 11:34:27 +10:00
Randy Mackay
0f924fb068 Copter: 4.3.7 release notes 2023-05-31 11:34:27 +10:00
Randy Mackay
a8a4d8b061 Copter: version to 4.3.7-beta1 2023-05-31 11:34:27 +10:00
Randy Mackay
349c1f8d64 Copter: 4.3.7-beta1 release notes 2023-05-31 11:34:27 +10:00
Randy Mackay
a7e1c0bedd Rover: version to 4.3.0-beta13 2023-05-31 11:34:27 +10:00
Randy Mackay
fabbdf8b40 Rover: 4.3.0-beta13 release notes 2023-05-31 11:34:27 +10:00
Andrew Tridgell
4657969c19 Plane: prepare for 4.3.7 final 2023-05-31 10:33:33 +10:00
Andrew Tridgell
bbc97c8bc6 AP_BoardConfig: fixed documentation of safety options
on and off were reversed
2023-05-26 17:45:55 +10:00
Andrew Tridgell
73310e61f4 Plane: prepare for 4.3.7beta1 release 2023-05-24 20:00:51 +10:00
Andrew Tridgell
f478aee339 Plane: release notes for 4.3.6-beta1 2023-05-24 19:58:33 +10:00
Andrew Tridgell
1695460716 Plane: backport fix for AirMode on quadplanes 2023-05-24 19:58:33 +10:00
Andrew Tridgell
c3362aef9e Tools: disable python cleanliness tests for 4.3 2023-05-24 19:58:33 +10:00
Andrew Tridgell
2e647f558a ChibiOS: backport RCC reset fix for 4.3 2023-05-24 19:58:33 +10:00
Paul Riseborough
7f0fd004e8 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-24 19:58:33 +10:00
Paul Riseborough
8cd7a035e2 AP_NavEKF3: Strengthen recovery from bad delta velocity bias learning 2023-05-24 19:58:33 +10:00
Paul Riseborough
24a7a2ab46 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-24 19:58:33 +10:00
Paul Riseborough
df737449e0 AP_NavEKF3: Retune and fix delta velocity bias state variance protection 2023-05-24 19:58:33 +10:00
Andy Piper
06029854f1 AP_NavEKF: ensure gyro biases are numbers
avoid errors during compass mot
2023-05-24 19:58:33 +10:00
Peter Barker
29b4bbb58f AP_EFI: use uint16_t to store offset
prevents infinite loop if there are exactly 255 bytes ready to read
2023-05-24 19:58:33 +10:00
Andrew Tridgell
578ebcc5f3 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-24 19:58:33 +10:00
Randy Mackay
5494135161 Copter: version to 4.3.6 2023-05-24 19:58:33 +10:00
Randy Mackay
af855ecfe5 Copter: 4.3.6 release notes 2023-05-24 19:58:33 +10:00
Randy Mackay
c0d27bb34f Copter: version to 4.3.6-beta2 2023-05-24 19:58:33 +10:00
Randy Mackay
dbc0cd78f6 Copter: 4.3.6-beta2 release notes 2023-05-24 19:58:33 +10:00
Randy Mackay
e17a47cb22 Rover: version to 4.3.0-beta12 2023-05-24 19:58:33 +10:00
Randy Mackay
5e4fadfce3 Rover: 4.3.0-beta12 release notes 2023-05-24 19:58:33 +10:00
Randy Mackay
a80ca3d2db Copter: version to 4.3.6-beta1 2023-05-24 19:58:33 +10:00
Randy Mackay
9b73aded0a Copter: 4.3.6-beta release notes 2023-05-24 19:58:33 +10:00
Randy Mackay
a1ced33326 Rover: version to 4.3.0-beta11 2023-05-24 19:58:33 +10:00
Randy Mackay
de033fc3f9 Rover: 4.3.6-beta11 release notes 2023-05-24 19:58:33 +10:00
bugobliterator
ca80462267 bootloaders: add CubeOrangePlus-bdshot bootloader 2023-05-24 19:58:33 +10:00
bugobliterator
bd351f452a AP_HAL_ChibiOS: add CubeOrangePlus-bdshot hwdef 2023-05-24 19:58:33 +10:00
Leonard Hall
04c03cb811 AutoTest: Remove extra line 2023-05-24 19:58:33 +10:00
Pierre Kancir
e2659fca9c Tools: fix flake8 checks 2023-05-24 19:58:33 +10:00
Randy Mackay
5bd27b104f Copter: version to 4.3.5 2023-05-24 19:58:33 +10:00
Randy Mackay
63365710e2 Copter: 4.3.5 release notes 2023-05-24 19:58:33 +10:00
Randy Mackay
6d4603c1b5 Copter: version to 4.3.5-rc1 2023-05-24 19:58:33 +10:00
Randy Mackay
f726212ddd Copter: 4.3.5-rc1 release notes 2023-05-24 19:58:33 +10:00
Randy Mackay
2b3493be87 Rover: version to 4.3.0-beta10 2023-05-24 19:58:33 +10:00
Randy Mackay
0cf1f2d083 Rover: 4.3.0-beta10 release notes 2023-05-24 19:58:33 +10:00
Peter Barker
bd3163a235 AP_Mount: rename local _chan to chan in Gremsy methods
based on PR feedback
2023-05-24 19:58:33 +10:00
Peter Barker
0df159d231 GCS_MAVLink: add method to get link (not just channel number) for mavtype and compid 2023-05-24 19:58:33 +10:00
Peter Barker
e84aa3b13a AP_Mount: correct double-mapping of port to channel number
set_message_interval takes a port number, not a channel number (it was originally written as an internal function, after all).  Before this patch we were double-mapping from one to the other.  That works so long as the port you are mapping also corresponds to the chanel number - which it will, for example, if you are using serial2 with both serial0 and serial1 also set to mavlink.  If you set serial5_protocol to 2 an attempt to use it for controlling a gremsy it will *not* work because we map into backwards twice.
2023-05-24 19:58:33 +10:00
Reilly Callaway
74c99c155d AP_PiccoloCAN: Fix ESC voltage and current telem scaling 2023-05-24 19:58:33 +10:00
bugobliterator
22ddbfd138 AP_HAL_ChibiOS: add HAL_WITH_MCU_MONITORING define for H757 2023-05-24 19:58:33 +10:00
Randy Mackay
211beb6d8c AP_Mount: servo mount yaw handling fix 2023-05-24 19:58:33 +10:00