Commit Graph

32725 Commits

Author SHA1 Message Date
Pierre Kancir cdfbadbfb6 AP_Math: add test_rotations for custom rotations testing 2023-05-24 17:56:58 +10:00
Hayden fa800e23e2 AP_Compass: Move health to cpp and add range check
Moved the health check to the cpp file and added checking of max instances
2023-05-24 12:39:47 +10:00
Hayden 30d575df12 AP_Baro: Move health to cpp and add range check
Moved the health checks to the cpp file and added range checking
2023-05-24 12:39:47 +10:00
Hayden 11dd9e8095 AP_IOMCU: Add #pragma once
Added #pragma once to AP_IOMCU as this caused compile issues when adding bindings to the LUA scripting
2023-05-24 12:39:47 +10:00
Hayden 09fd157b9b AP_Scripting: Add health checks
Added health checks for the Baro, InertialSensor, IOMCU, and Compass
2023-05-24 12:39:47 +10:00
Asif Khan 9ef3241949 GCS_MAVLink: add GIMBAL_MANAGER_SET_PITCHYAW message support 2023-05-24 12:36:37 +10:00
Asif Khan 28748dc2c0 AP_Mount: add GIMBAL_MANAGER_SET_PITCHYAW message support 2023-05-24 12:36:37 +10:00
Paul Riseborough c91909032f 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 10:31:26 +10:00
Paul Riseborough 1053daaf90 AP_NavEKF3: Strengthen recovery from bad delta velocity bias learning 2023-05-24 10:31:26 +10:00
Paul Riseborough b1111e79fe 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 10:31:26 +10:00
Paul Riseborough ef76890f9b AP_NavEKF3: Retune and fix delta velocity bias state variance protection 2023-05-24 10:31:26 +10:00
Andrew Tridgell 419a75f0b7 AP_DroneCAN: support hobbywing DroneCAN ESCs
these use different messages from other DroneCAN ESCs
2023-05-23 20:26:11 +10:00
Andrew Tridgell c7f97751cf 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-23 12:11:04 +10:00
Andrew Tridgell a25ffa266f 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-23 12:11:04 +10:00
Iampete1 f77635a5a6 Filter: Examples: Add Transfer function check and MATLAB 2023-05-23 10:31:13 +10:00
Iampete1 4406570391 Filter: NotchFilter: private varables to protected 2023-05-23 10:31:13 +10:00
Tatsuya Yamaguchi 3fc8f27899 AP_Logger: make SCR name field instance 2023-05-23 10:27:21 +10:00
Iampete1 4fcd767f9e AP_Motors: example: add ability to dump all matrix motor layouts in JSON format 2023-05-23 10:18:17 +10:00
bugobliterator b5617a9ff8 Revert "AP_HAL_ChibiOS: disable watchdog in hwdef.h not in-line in code"
This reverts commit ccfad8ceea.
2023-05-23 09:00:11 +10:00
Peter Barker 34a55166f8 SITL: correct compilation for SimOnHardware 2023-05-22 22:55:54 +10:00
Peter Barker 5333f404d3 AP_Common: pre-declare print_vprintf
these seem to override a soft symbol somewhere, so can't be static or be removed or the tests fail
2023-05-20 17:28:08 +10:00
Peter Barker 2e1f8d8b8b AP_BattMonitor: fix missing method declaration compile failure 2023-05-20 17:28:08 +10:00
Peter Barker bce2625918 SITL: fix missing method declaration compile failure
RyanF found this when eliminating other problems
2023-05-20 17:28:08 +10:00
Ryan Friedman f092c22915 AP_GPS: Enforce max of 10 GSOF outputs per the manual
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-20 14:23:17 +10:00
Ryan Friedman 77e169b226 AP_GPS: Update GSOF docs with newer data
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-20 14:22:15 +10:00
Andrew Tridgell 2a3faf5dff AP_BattMonitor: allow max amps to be configured on INA2XX
this allows for higer current ranges with lower resolution
2023-05-20 09:54:29 +10:00
AerofoxTech 91f3e3a9a7 hwdef: add Aerofox GNSS F9P module 2023-05-20 08:57:25 +10:00
Peter Barker d6f7fddcaf AP_Notify: bump up max number of simulated notify devices 2023-05-19 18:43:49 +10:00
Ryan Friedman a05af3f3c3 AP_GPS: More const for gsofmsgreq
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-19 18:43:31 +10:00
Peter Barker 07160e2985 AP_Mount: move get_bf_yaw to be a method on the object it takes 2023-05-18 15:07:17 +10:00
Andrew Tridgell 7dc9f418a5 AP_Arming: added BLACKBOX arming method 2023-05-18 12:59:09 +10:00
Henry Wurzburg 68ff5a2b48 SITL: add metadata to simulated compass 2023-05-18 11:18:23 +10:00
lipper-chengdu b351644583 AP_RCProtocol: Fix the issue of ST24 receiver not working 2023-05-18 08:24:22 +10:00
Andy Piper d7bcfd757b AP_HAL_ChibiOS: correct locking on LED thread 2023-05-18 07:53:33 +10:00
Peter Barker 3d05d8c0dd AP_Notify: use chibios_hwdef to define NOTIFY_LED_OVERRIDE_DEFAULT 2023-05-18 07:53:22 +10:00
Peter Barker 0c7a16b03d AP_HAL_ChibiOS: use chibios_hwdef to define NOTIFY_LED_OVERRIDE_DEFAULT 2023-05-18 07:53:22 +10:00
Peter Barker 77200da280 AP_Vehicle: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Peter Barker 586851e40f hwdef: create and use convenient is_periph_firmware method 2023-05-17 18:39:51 +10:00
Peter Barker a16c9cf64e AP_GPS: log fragments used/fragments discarded for RTCM injection data 2023-05-17 18:37:43 +10:00
Peter Barker d59c9cc633 AP_RCProtocol: add separate define for AP_RCPROTOCOL_SUMD_ENABLED 2023-05-17 18:27:19 +10:00
Peter Barker c9b39c6d32 AP_RCProtocol: add separate define for AP_RCPROTOCOL_IBUS_ENABLED 2023-05-17 18:27:19 +10:00
Peter Barker 1b040fa0c3 AP_RCProtocol: add separate define for AP_RCPROTOCOL_PPMSUM_ENABLED 2023-05-17 18:27:19 +10:00
Peter Barker 1225d4c88f AP_RCProtocol: add separate define for AP_RCPROTOCOL_ST24_ENABLED 2023-05-17 18:27:19 +10:00
Ryan Friedman 5c815e2c32 AP_GPS: Reduce extra GSOF namespacing since it's all in class scope
* Also remove in s on enums to follow Peter's conventions
* Fixed incorrect style on class and enum names
2023-05-17 18:12:44 +10:00
Ryan Friedman 2f5f77712f AP_GPS: Use enum classes in GSOF
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-17 18:12:44 +10:00
Randy Mackay c41d5f4ff6 AP_SerialManager: improve OPTIONS desc for Swap bit 2023-05-17 17:34:10 +10:00
Randy Mackay e672a75776 AP_SerialManager: generalise SToRM32 serial protocol desc and enum 2023-05-17 17:34:10 +10:00
bugobliterator 1c274c93a5 AP_DroneCAN: update helpers user to add CANARD_MALLOC and CANARD_FREE 2023-05-17 13:27:34 +10:00
davidsastresas e4428f538d GCS_MAVLink: support gimbal_manager_status and do_gimbal_manager_configure
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-05-17 12:38:49 +10:00
davidsastresas cbec7ee47b AP_Mount: support gimbal_manager_status and do_gimbal_manager_configure
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-05-17 12:38:49 +10:00