Commit Graph

57457 Commits

Author SHA1 Message Date
Andy Piper b507fccb9f bootloaders: SpeedyBeeF405v4 2024-01-07 10:59:28 +11:00
Andy Piper 592b4d7181 AP_HAL_ChibiOS: add support for SpeedyBeeF405v4 2024-01-07 10:59:28 +11:00
Peter Barker 68bc3f4aa1 hwdef: correct compilation of CubeOrange-SimOnHW
../../libraries/AP_InertialSensor/AP_InertialSensor_config.h:20:2: error: #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
   20 | #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
      |  ^~~~~
2024-01-07 10:59:28 +11:00
Randy Mackay 84791f4670 AP_Torqeedo: error code reporting fix 2024-01-07 10:59:28 +11:00
Peter Barker c3c92bed26 AP_Notify: add IS31FL3195 to default LED types 2024-01-07 10:59:28 +11:00
Peter Barker 4f56010862 AP_Notify: document IS31FL3195 LED type for LED_TYPES parameter 2024-01-07 10:59:28 +11:00
Peter Barker ecc41d1b82 Tools: clamp empy to version 3
API and syntax hanges make 4 problematic
2024-01-07 10:59:28 +11:00
Peter Barker 1bbb7595e9 .github: clamp empy to version 3
API and syntax hanges make 4 problematic
2024-01-07 10:59:28 +11:00
Martin Luessi fb7ff72c16 RADIX2HD: Set HAL_I2C_INTERNAL_MASK 2024-01-07 10:59:28 +11:00
Andrew Tridgell 3297ebd442 AP_BattMonitor: fixed battery percentage with aux info
when we have aux battery information we had assumed the CAN device
would provide the battery remaining percentage. We should obey the "do
not use CAN SoC" with or without an AUX message

This fixes CAN battery monitors with a cell monitor
2024-01-07 10:59:28 +11:00
Martin Luessi 26a2b3da58 AP_HAL_ChibiOS: RADIX2HD Probe external I2C compasses 2024-01-07 10:59:28 +11:00
Andy Piper dea49bd061 Copter: make sure takeoff check checks the right ESC channels 2024-01-07 10:59:28 +11:00
Randy Mackay 88754a535b Copter: version to 4.4.3 2024-01-07 10:59:28 +11:00
Randy Mackay 71a837a5d8 Copter: 4.4.3 release notes 2024-01-07 10:59:28 +11:00
Randy Mackay 11f8fe8ee4 Rover: version to 4.4.0-beta10 2024-01-07 10:59:28 +11:00
Randy Mackay 63cf438002 Rover: 4.4.0-beta10 release notes 2024-01-07 10:59:28 +11:00
Andrew Tridgell 6bfd8753c3 Plane: prepare for 4.4.3 release 2024-01-07 10:59:28 +11:00
Andrew Tridgell d46e51f1ff Plane: update release notes for 4.4.3 2024-01-07 10:59:28 +11:00
Peter Barker 3b496393f0 AP_GPS: correct uBlox M10 configuration on minimised boards 2024-01-07 10:59:28 +11:00
Randy Mackay 6f6a5ea053 Copter: version to 4.4.3-beta1 2024-01-07 10:59:28 +11:00
Randy Mackay 842b51e19d Copter: 4.4.3-beta1 release notes 2024-01-07 10:59:28 +11:00
Randy Mackay 554693f657 Rover: version to 4.4.0-beta9 2024-01-07 10:59:28 +11:00
Randy Mackay ac28062660 Rover: 4.4.0-beta9 release notes 2024-01-07 10:59:28 +11:00
Andrew Tridgell 9870944f14 Plane: prepare for 4.4.3-beta1 2024-01-07 10:59:28 +11:00
Andrew Tridgell 71d8349a56 Plane: release notes for 4.4.3-beta1 2024-01-07 10:59:28 +11:00
yjuav 16eed7827e hwdef: add YJUAV_A6SE_H743 board support (4.4 backport) 2024-01-07 10:59:28 +11:00
Andrew Tridgell b956eefdd0 AP_ESC_Telem: expose update_telem_data for scripting 2024-01-07 10:59:28 +11:00
Andrew Tridgell f10a942470 AP_Scripting: added bindings for telemetry data for ESCs
allows more complete ESC protocol implementation in scripting
2024-01-07 10:59:28 +11:00
Peter Barker 4145acb6b1 GCS_MAVLink: correct mavlink result when airspeed not available
only in progress if we have started a task running
2024-01-07 10:59:28 +11:00
Peter Barker 4002c2a0af Plane: use origin-relative altitudes rather than home-relative 2024-01-07 10:59:28 +11:00
Andy Piper 1919362383 bootloaders: BETAFPV-F405 bootloaders 2024-01-07 10:59:28 +11:00
Andrew Tridgell a0114f6c9f hwdef: bugfixes for BETAFPV-F405 2024-01-07 10:59:28 +11:00
bugobliterator 8c815644a1 AP_HAL_ChibiOS: enable save/restore of SPI SCK pin during spiStop Start for CubeOrangePlus 2024-01-07 10:59:28 +11:00
bugobliterator 06ffb9cf20 AP_HAL_ChibiOS: add option to set HAL_SPI_SCK_SAVE_RESTORE 2024-01-07 10:59:28 +11:00
bugobliterator 0210b4242b AP_HAL_ChibiOS: fix mode setting for ICM45686 on CubeOrangePlus 2024-01-07 10:59:28 +11:00
bugobliterator 6308d5fb33 AP_HAL_ChibiOS: add support for saving and restoring SCK pin state
when SPI goes into undefined state during reset
2024-01-07 10:59:28 +11:00
Andrew Tridgell 39632e4a40 AP_Mount: fixed SIYI parser bug
this caused lots of lost packets
2024-01-07 10:59:28 +11:00
Andrew Tridgell eed1738324 AP_GPS: implement the GPS_DRV_OPTION for ellisoid height in mode drivers
this allows a lot more drivers to use the GPS_DRV_OPTION but to use
ellisoid height. Particularly useful for DroneCAN GPS modules

using ellisoid height instead of AMSL is useful in some specialised
application
2024-01-07 10:59:28 +11:00
Hayden c04d01ced6 AP_Compass: fix AK09916 hangup issue 2024-01-07 10:59:28 +11:00
Andrew Tridgell 76e157c241 AP_InertialSensor: fix for ICM42688 stuck gyro issue
these undocumented bits in register 0x4d control the "adaptive full
scale range" mode of the ICM42688. The feature is enabled by default
but has a bug where it gives "stuck" gyro values for short periods
(between 1ms and 2ms):, leading to a significant gyro bias at longer
time scales, enough to in some cases cause a vehicle to crash if it is
unable to switch to an alternative IMU

this fixes https://github.com/ArduPilot/ardupilot/issues/25025
2024-01-07 10:59:28 +11:00
Andrew Tridgell 1727d9a5be Filter: protect against extremely low notch filter frequencies
an incorrectly configured ESC telemetry source can lead to a notch
running at very low frequencies. A simple example is a lua script like
this:

function update()
   esc_telem:update_rpm(12, 0, 0)
   return update, 10
end
return update()

where motor 12 is unused.

with that script in place we get a 1.0078 Hz filter which leads to
massive phase lag and a crashed aircraft

this is a safety protection. We should also try to find out why the
INS_HNTCH_FREQ lower limit is not working
2024-01-07 10:59:28 +11:00
Andrew Tridgell 0f208c7d90 Plane: prepare for 4.4.2 release 2024-01-07 10:59:28 +11:00
Andrew Tridgell 5244fb48fa Plane: update release notes for 4.4.2 2024-01-07 10:59:28 +11:00
Iampete1 2302c584cb Copter: verison to 4.4.2 2024-01-07 10:59:28 +11:00
Iampete1 7e144ca2ec Copter: 4.4.2 stable release notes 2024-01-07 10:59:28 +11:00
Randy Mackay 2b795058c9 Copter: update 4.4.2-beta1 release notes 2024-01-07 10:59:28 +11:00
Randy Mackay ad4ff9e711 Rover: update 4.4.2-beta1 release notes 2024-01-07 10:59:28 +11:00
Randy Mackay 2598b192a9 Copter: version to 4.4.2-beta1 2024-01-07 10:59:28 +11:00
Randy Mackay 488cfd5572 Copter: 4.4.2-beta1 release notes 2024-01-07 10:59:28 +11:00
Randy Mackay eb786083f2 Rover: version to 4.4.0-beta8 2024-01-07 10:59:28 +11:00