Commit Graph

29136 Commits

Author SHA1 Message Date
Andy Piper
77651637c0 AP_InertialSensor: support for fast sampling rates on ICM-42xxx series
thoughtfully set anti-aliasing filters on ICM-42xxx series
2022-08-12 02:49:51 -04:00
Andrew Tridgell
3e3949b45d hwdef: added compass compensation for 3 boards
use the new compass heater compensation for 4 compasses across 3
boards
2022-08-12 02:49:51 -04:00
Andrew Tridgell
6167bae280 AP_Compass: switch to a general method of heater compensation
this allows any board to easily setup heater compensation for an
internal compass. The offsets are in body frame (previously in sensor
frame) and are sensor specific using bus device IDs
2022-08-12 02:49:51 -04:00
Andrew Tridgell
f16d2cc2aa hwdef: added missing ADC channel on Pixhawk6X 2022-08-12 02:49:51 -04:00
Andrew Tridgell
4488d4d290 hwdef: disable I2C DMA on Pixhawk6X
this prevents an issue with the BMI088 and external compass on GPS1
2022-08-12 02:49:51 -04:00
Andrew Tridgell
22d4cd9865 hwdef: fixed rotation of bmi088 on Holybro6X 2022-08-12 02:49:51 -04:00
Andrew Tridgell
5f62658383 AP_InertialSensor: re-enable notch filter on 42688
thanks to Andy for pointing out this is for an internal resonance
2022-08-12 02:49:51 -04:00
Andrew Tridgell
84f493664d AP_InertialSensor: enable 180Hz LPF on ICM42670 2022-08-12 02:49:51 -04:00
Andrew Tridgell
929cc22928 AP_InertialSensor: enable AAF at 488Hz for gyro+accel on ICM42688
this should improve vibration handling
2022-08-12 02:49:51 -04:00
Andrew Tridgell
5b6fc2f97d AP_InertialSensor: added support for ICM42670 IMU 2022-08-12 02:49:51 -04:00
Andrew Tridgell
aedc20e938 hwdef: fixed orientation of Pixhawk6X ICM42670 2022-08-12 02:49:51 -04:00
Andrew Tridgell
9ac5e03bc3 AP_BoardConfig: allow for BMI088 for Holybro 6X
and tighten check on CUAV-X6 and Holybro-6X to check all 3 IMUs
2022-08-12 02:49:51 -04:00
Andrew Tridgell
6ca513fe28 hwdef: use right name for ICM42670 SPI device 2022-08-12 02:49:51 -04:00
Andrew Tridgell
add565508c AP_ICEngine: added option for throttle control while disarmed
this uses the passed in base throttle when disarmed
2022-08-12 02:49:51 -04:00
Andrew Tridgell
ef473a4372 AP_ICEngine: added option to force low throttle on engine off
this fixes an issue with EFI engines that use low throttle demand to
stop the engine, instead of using an ignition channel. This option
needs to be set on these aircraft to prevent the idle governor or the
fwd throttle integrator in quadplanes from keeping the engine on when
the pilot asks for it to be off.
2022-08-12 02:49:51 -04:00
Andrew Tridgell
b7c7510268 hwdef: MFE-PixSurveyA1 rename PixSurveyA1 2022-08-12 02:49:51 -04:00
xiao
f9645365dc HAL_ChibiOS: hwdef: add new hardware MFE-PixSurveyA1 2022-08-12 02:49:51 -04:00
Andrew Tridgell
2600b3fb2a hwdef: changed Pixhawk6C board type to 56
production bootloader uses 56
2022-08-12 02:49:51 -04:00
Andy Piper
49454b3745 AP_HAL_ChibiOS: hwdef for Foxeer Reaper F745v2.
README for Reaper F745v2
2022-08-12 02:49:51 -04:00
Andrew Tridgell
ddf6d34de7 hwdef: added telem3 on Pixhawk6X 2022-08-12 02:49:51 -04:00
Andrew Tridgell
3c3a55201d hwdef: added Pixhawk6C support 2022-08-12 02:49:51 -04:00
Andrew Tridgell
6eeabaf7f1 AP_Compass: HAL_COMPASS_DISABLE_IST8310_INTERNAL_PROBE for Pixhawk6C 2022-08-12 02:49:51 -04:00
Andrew Tridgell
64a232e912 AP_Compass: removed "AK09916 Wrong id" message
we don't need this on every board that doesn't have an I2C AK09916
2022-08-12 02:49:51 -04:00
Andrew Tridgell
39532a50b1 hwdef: fixed Pixhawk6X ALT_RAM_MAP check 2022-08-12 02:49:51 -04:00
Andrew Tridgell
bc212f4c48 hwdef: added Pixhawk6X support
a new H753 based board similar to the Pixhawk5X
2022-08-12 02:49:51 -04:00
Andrew Tridgell
091ca3f22e HAL_ChibiOS: added support for ALT_RAM_MAP on H7
for compatibility with the px4 H7 bootloader
2022-08-12 02:49:51 -04:00
Andrew Tridgell
262dd267ae HAL_ChibiOS: enable ITCM and DTCM on H7 at startup
these may have been disabled by the px4 H7 bootloader
2022-08-12 02:49:51 -04:00
Andrew Tridgell
105da09a47 AP_BattMonitor: make healthy() check all configured monitors
GCS reporting for SYS_STATUS should check all healthy, not just first
backend
2022-08-12 02:49:51 -04:00
Andrew Tridgell
9eab488dd8 AP_BattMonitor: allow INA2xx battery monitors to be powered after boot
the device doesn't show up till main battery is connected, so we need
this change to allow for separate avionics battery and main battery
with avionics battery powered on first
2022-08-12 02:49:51 -04:00
Andrew Tridgell
b8bef122ac AP_BattMonitor: report arming unhealthy if backend unhealthy
important for i2c based battery backends
2022-08-12 02:49:51 -04:00
Andrew Tridgell
9ffb0b0b2d AP_AHRS: use wind from simulation if available with EKF type 10 2022-08-12 02:49:51 -04:00
Andrew Tridgell
174a031a03 SITL: fill in wind from flightaxis 2022-08-12 02:49:51 -04:00
Bill Geyer
d65819bf03 AC_AutoTune: fix tradheli bug with load gain set 2022-06-21 19:41:54 +09:00
Randy Mackay
d311341db2 GCS_MAVLink: learn routes even on private channels
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-06-21 19:41:54 +09:00
Andrew Tridgell
dc3ad902e1 AP_Scripting: sync quicktune with master 2022-06-21 19:41:54 +09:00
Andy Piper
d600c7b4db AP_GyroFFT: make sure the parameters are updated at least once on startup 2022-06-21 19:41:54 +09:00
Andy Piper
4d3c9e2eea AP_Arming: make sure FFT gets initialized when arming checks are off 2022-06-21 19:41:54 +09:00
Andy Piper
6c29164953 AP_HAL_ChibiOS: add support for MambaF405 2022 MK4
mark DMA on MambaF405US-I2C UARTs
correct RSSI pin on MambaF405US-I2C
2022-06-21 19:41:54 +09:00
Andy Piper
4f053a4c8f AP_HAL_ChibiOS: hwdef for MambaH743v4
support BMI270 on MambaH743v4 and increase flash SPI clock
add bi-directional dshot to MambaH743
add README and pinout for MambaH743
2022-06-21 19:41:54 +09:00
Andy Piper
dd0ee0312c AP_InertialSensor: don't print error when probing non-existant BMI270
fix device locking at startup on BMI270
2022-06-21 19:41:54 +09:00
Andy Piper
7f2c48da72 AP_Logger: support W25N01GV flash chips
add separate driver for W25N01GV triggered via HAL_LOGGING_DATAFLASH_DRIVER
move flash_test() into AP_Logger_Block.
cleanup use of 4k sector commands to account for chips that only have block commands
2022-06-21 19:41:54 +09:00
Andy Piper
ccbc24a480 AP_RCTelemetry: don't spam mode changes on CRSF startup
rewrite device ping bootstrap to avoid ping flood
enable device pings on CRSF in the event of TX loss.
only send pings if not negotiating the version
2022-06-21 19:41:54 +09:00
Andy Piper
c198cbdd52 AP_RCProtocol: reset UART on RX failure for CRSF
update CRSF timestamps to use microseconds
implement RX liveness protocol and implement for CRSF
2022-06-21 19:41:54 +09:00
Andy Piper
f4431b6bd0 AP_RCProtocol: check for bad frames in CRSF decoding. 2022-06-21 19:41:54 +09:00
Mohammad Hefny
85d2acc7ba AP_Rangefinder: preserve new address 2022-06-21 19:41:54 +09:00
Andy Piper
a22bf84cae AP_OSD: update parameter menu flightmodes for plane and copter. 2022-06-21 19:41:54 +09:00
Andrew Tridgell
67c4db5627 AP_Rangefinder: fixed scaling on PWM driver and enable SCALING parameter
this fixes a bug introduced here:

  https://github.com/ArduPilot/ardupilot/pull/18829

and allows the scaling of PWM rangefinders to be adjusted
2022-06-21 19:41:54 +09:00
Andrew Tridgell
4f0bfc1795 AP_InertialSensor: fixed build with logging disabled
fixes CubeOrange-periph build
2022-06-21 19:41:54 +09:00
Andrew Tridgell
fa19fd0bfe AP_BoardConfig: fixed build with logging disabled
fixes CubeOrange-periph build
2022-06-21 19:41:54 +09:00
Andrew Tridgell
2454be6038 AP_GPS: fixed build without logging 2022-06-21 19:41:54 +09:00