Commit Graph

30091 Commits

Author SHA1 Message Date
Andrew Tridgell
f47585b235 hwdef: disable I2C DMA on Pixhawk6C and enable compass compensation 2022-08-02 17:26:46 +10:00
Andy Piper
155d436807 AP_InertialSensor: support for fast sampling rates on ICM-42xxx series
thoughtfully set anti-aliasing filters on ICM-42xxx series
2022-08-02 17:26:46 +10:00
Andrew Tridgell
696cd1a19b hwdef: added compass compensation for 3 boards
use the new compass heater compensation for 4 compasses across 3
boards
2022-08-02 17:26:46 +10:00
Andrew Tridgell
b6bcd6346d 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-02 17:26:46 +10:00
Andrew Tridgell
3ee42f3d20 hwdef: added missing ADC channel on Pixhawk6X 2022-08-02 17:26:46 +10:00
Andrew Tridgell
949ef22ed6 hwdef: disable I2C DMA on Pixhawk6X
this prevents an issue with the BMI088 and external compass on GPS1
2022-08-02 17:26:46 +10:00
Andrew Tridgell
01e6809942 hwdef: fixed rotation of bmi088 on Holybro6X 2022-08-02 17:26:46 +10:00
Andrew Tridgell
2582d5fad5 AP_InertialSensor: re-enable notch filter on 42688
thanks to Andy for pointing out this is for an internal resonance
2022-08-02 17:26:46 +10:00
Andrew Tridgell
8a6b8fc486 AP_InertialSensor: enable 180Hz LPF on ICM42670 2022-08-02 17:26:46 +10:00
Andrew Tridgell
5b579aebce AP_InertialSensor: enable AAF at 488Hz for gyro+accel on ICM42688
this should improve vibration handling
2022-08-02 17:26:46 +10:00
Andrew Tridgell
5bde9b0e7c AP_InertialSensor: added support for ICM42670 IMU 2022-08-02 17:26:46 +10:00
Andrew Tridgell
df9ac156c4 hwdef: fixed orientation of Pixhawk6X ICM42670 2022-08-02 17:26:46 +10:00
Andrew Tridgell
9911fd76f4 AP_BoardConfig: allow for BMI088 for Holybro 6X
and tighten check on CUAV-X6 and Holybro-6X to check all 3 IMUs
2022-08-02 17:26:46 +10:00
Andrew Tridgell
6845f2e24d hwdef: use right name for ICM42670 SPI device 2022-08-02 17:26:46 +10:00
Iampete1
223b005d29 SITL: SIM_Buzzer: hide params if not WITH_SITL_TONEALARM 2022-08-02 10:49:11 +10:00
Iampete1
e511f72294 AP_LandingGear: SITL: only set defualts is SITL pin is set avoiding enable via param conversion 2022-08-02 10:48:19 +10:00
Henry Wurzburg
530d59017a AP_Logger: add increment on file rate limiting to allow <1Hz 2022-08-02 10:22:48 +10:00
Henry Wurzburg
b7f49db1f7 AP_NavEKF3: Add streaming log verbosity level parameter 2022-08-02 10:21:39 +10:00
Henry Wurzburg
022987e4d3 RC_Channel: add AUX switch to pause logging of streamed entries 2022-08-02 10:15:08 +10:00
Henry Wurzburg
a395b3d2a8 AP_Logger: add AUX switch to pause logging of streamed entries 2022-08-02 10:15:08 +10:00
Andrew Tridgell
0ededd7c62 AP_AHRS: use wind from simulation if available with EKF type 10 2022-08-02 07:49:34 +10:00
Andrew Tridgell
8cc5172ff3 SITL: fill in wind from flightaxis 2022-08-02 07:49:34 +10:00
Peter Barker
aeb24d4978 AP_AHRS: remove method casting active EKF type for logging
logging is now done internally
2022-07-29 11:05:19 +10:00
Iampete1
7683b36e3b SITL: set compass vector after loading defualts 2022-07-28 16:51:33 +10:00
Iampete1
fcab0c70a2 AP_Param: allow init of all Vector3f values to single float 2022-07-28 16:51:33 +10:00
Iampete1
98d9f07507 AP_InertialSensor: defualt accel scale vector to 1.0 2022-07-28 16:51:33 +10:00
Iampete1
cdf930effe AP_Compass: defualt diagonals vector to 1.0 2022-07-28 16:51:33 +10:00
Peter Barker
e89f4ea599 AP_Arming: add prearm check that we are using configured AHRS type 2022-07-28 15:53:13 +10:00
Peter Barker
4909866dd9 AP_AHRS: add prearm check that we are using configured AHRS type 2022-07-28 15:53:13 +10:00
Iampete1
2fc9cf97d4 AC_Fence: defualt to AP_FENCE_ENABLED 2, 1 disables dummy methods 2022-07-27 19:04:56 +10:00
Iampete1
bab866268f RC_Channel: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
31bc6d9ec4 GCS_MAVLink: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
a9310c3d18 AP_Vehicle: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
ed330fd026 AP_Proximity: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
94004db13f AP_OSD: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
380d174e32 AP_Landing: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
ad59c62899 AP_Frsky_Telem: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
19ccf53fa6 AP_Filesystem: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
58d244d7a3 AP_Arming: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
4b6a0f0b4f AC_Fence: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
5f31818658 AC_Avoidance: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
9dc318f0cc AC_Fence: move to config file and rename from AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
1342fa4851 AP_Proximity: fix complation without fence 2022-07-27 19:04:56 +10:00
Iampete1
ed356d94cd AC_Avoid: fix complilation with no fence 2022-07-27 19:04:56 +10:00
Iampete1
fa440d532a AC_Fence: add dummy methods 2022-07-27 19:04:56 +10:00
Iampete1
6a6f3ec4e5 AC_Fence: add AC_FENCE define 2022-07-27 19:04:56 +10:00
Iampete1
9e86f4dc43 AP_Vehicle: add AC_Fence 2022-07-27 19:04:56 +10:00
Iampete1
5d5552aa93 RC_Channel: fix complation without fence 2022-07-27 19:04:56 +10:00
Iampete1
5fa29eb01a GCS_MAVLink: fix complation without fence 2022-07-27 19:04:56 +10:00
Iampete1
520fc01739 AP_OSD: fix complation without fence 2022-07-27 19:04:56 +10:00