Commit Graph

26909 Commits

Author SHA1 Message Date
Andrew Tridgell 45f6b16dec AP_RPM: fixed formatting of pin arming check 2021-08-05 09:43:35 +10:00
Andrew Tridgell a56db06efb AP_Relay: fixed formatting of pin arming check 2021-08-05 09:43:35 +10:00
Andrew Tridgell fe6ac6a581 AP_Button: fixed formatting of pin arming check 2021-08-05 09:43:35 +10:00
bugobliterator e51d358552 AP_RangeFinder: use typename SIM instead of SITL as it conflicts with namespace name 2021-08-05 07:25:31 +10:00
bugobliterator 62b6350af1 AP_AHRS: use typename SIM instead of SITL as it conflicts with namespace name 2021-08-05 07:25:31 +10:00
bugobliterator 3033589fca SITL: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 0d34a78701 GCS_MAVLink: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 88a72cca0b AP_WheelEncoder: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 4312213e18 AP_RangeFinder: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 5653f8c08b AP_RPM: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 02c0ce175e AP_Proximity: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 392ba06f6e AP_OpticalFlow: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator a3c301f689 AP_Notify: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 7832f81a84 AP_Logger: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator f20b7d0f8e AP_InertialSensor: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 58baad9949 AP_IRLock: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 26e2a4a3cb AP_HAL_SITL: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 3d6ef2106f AP_ESC_Telem: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 33f9c38528 AP_Compass: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 56b6c669d7 AP_Beacon: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 90437cb894 AP_Baro: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 114d7b22f4 AP_AHRS: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
bugobliterator 9cad93f58c AC_PrecLand: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Willian Galvani fe99d3e217 AP_NavEKF_Source: add vertical position to pre_arm_check() description 2021-08-04 21:42:39 +09:00
Peter Barker 107e647d00 AP_AHRS: correct compilation under SITL with no EKF3 2021-08-04 18:15:55 +10:00
Andy Piper f71b951cb2 AP_HAL_ChibiOS: return correct value for tx_pending(). 2021-08-04 17:26:18 +10:00
Andy Piper 6f53337b88 AP_RCTelemetry: add baud rate change command frame processing.
report CRSF version when rate changes
2021-08-04 17:26:18 +10:00
Andy Piper 293bb7704e AP_RCProtocol: implementation of CRSF v3
add CRSF command frame types
allow CRSF baud rate changes
record CRSF version being processed
2021-08-04 17:26:18 +10:00
Andrew Tridgell ba45d32c7e AP_Scripting: avoid a error in lua with gcc 10.2 on STM32 with -Werror 2021-08-04 15:48:23 +10:00
Samuel Tabor 4564992b47 AP_Soaring: Add an override-disable flag to update_active_state to support e.g. mission landing sequence. 2021-08-04 06:52:56 +10:00
Leonard Hall 0ad2bf15bc AC_AttitudeControl: Support thrust to weight of 10:1 2021-08-03 17:04:43 +09:00
Andy Piper 30252c1b3f AP_Motors: remove tri yaw servo from motor mask 2021-08-03 11:16:50 +09:00
Hwurzburg 89246739c4 AP_RCTelemetry: warn if Passthru miss-configured
Co-authored-by: Alessandro Apostoli <30294218+yaapu@users.noreply.github.com>
2021-08-03 11:00:11 +10:00
Peter Barker 76c4af6aef GCS_MAVLink: cope with MAV_CMD_ACCELCAL_VEHICLE_POS outside accelcal 2021-08-03 10:54:52 +10:00
Andrew Tridgell eb638a5267 HAL_ChibiOS: added CubeMX files for G431 and G441 2021-08-03 10:54:03 +10:00
Andrew Tridgell bab0c1dfc7 HAL_ChibiOS: fixed build for single FDCAN G4 boards 2021-08-03 10:54:03 +10:00
Andrew Tridgell 8df99f0d15 HAL_ChibiOS: added G431 and G441 support 2021-08-03 10:54:03 +10:00
Peter Barker 3013017369 AP_AdvancedFailsafe: use mission singleton inside AP_AdvancedFailsafe 2021-08-03 10:35:24 +10:00
Andrew Tridgell d0969a4476 AP_Logger: added RATEMAX for mavlink and block backends 2021-08-03 10:23:36 +10:00
Andrew Tridgell 4dfe750d71 AP_Logger: handle instance types in rate limiting 2021-08-03 10:23:36 +10:00
Andrew Tridgell 575c76bdd0 AP_Logger: pack LogStructure to save some flash space
prevent padding between records
2021-08-03 10:23:36 +10:00
Andrew Tridgell 8196f422cb SITL: mark SIM2 as a streaming message 2021-08-03 10:23:36 +10:00
Andrew Tridgell b83c7f3025 AP_NavEKF: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell 8681ecebfd AP_NavEKF3: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell 84b1468ce6 AP_NavEKF2: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell f68ed4f0a4 AP_InertialSensor: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell 9a262d19ed AP_GPS: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell b450b59acc AP_ESC_Telem: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell bbfd2e962e AP_BattMonitor: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell 166d13d8c3 AP_Baro: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell 5dab362286 AP_AHRS: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell f3181ae0f6 AC_PrecLand: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell 5af59fb555 AC_Avoidance: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Andrew Tridgell 662f7a0191 AP_Logger: added LOG_FILE_RATEMAX parameter
this allows for a global "maximum rate in Hz for streaming messages"
setting
2021-08-03 10:23:36 +10:00
Hwurzburg b69308858a AP_Vehicle: correct OSD horizon for VTOL modes and TRIM_PITCH_CD in FW modes 2021-08-03 10:09:28 +10:00
Hwurzburg b2a100f41b AP_OSD: correct OSD horizon for VTOL modes and TRIM_PITCH_CD in FW modes 2021-08-03 10:09:28 +10:00
Josh Henderson 289264f1dd AP_BattMonitor: move analog parameters to subgroupvarptr 2021-08-03 09:36:26 +10:00
Josh Henderson e37efa45de AP_BattMonitor: add SMBus address param and create SMBus subtree 2021-08-03 09:36:26 +10:00
Iampete1 612ea70e5b SITL: add JSON Master 2021-08-03 09:22:19 +10:00
Iampete1 41c167ba89 SITL: add SIM_JSON_MASTER param 2021-08-03 09:22:19 +10:00
Iampete1 4505dce64d SITL: SIM_JSON: add no time sync to JSON format 2021-08-03 09:22:19 +10:00
Iampete1 5ff0f42372 AP_HAL_SITL: add slave JSON instances 2021-08-03 09:22:19 +10:00
Peter Barker 383807e334 AP_AHRS: move AOA state to private in frontend
AP_AHRS: make update_AOA_SSA non-virtual
2021-08-02 20:55:04 +10:00
Tatsuya Yamaguchi 43da962d34 AC_Avoid: use proximity_avoidance_enabled function 2021-08-02 08:52:41 +09:00
Tatsuya Yamaguchi 04deabbacb AC_Avoid: confirm USE_PROXIMITY_SENSOR to check if proximity is enabled 2021-08-02 08:52:41 +09:00
Andrew Tridgell 47854ac4b7 APM_Control: lower the tuning trigger threshold
this allows for slower stick movements during tuning

This is based on analysing the log from kir850 on rcgroups
2021-07-31 10:01:14 +10:00
Peter Barker 944b82a7be AP_Compass: make is_calibrating const 2021-07-30 17:37:08 +10:00
Peter Barker d131cf01d3 AP_AHRS: use compass reference rather than pointer 2021-07-30 17:37:08 +10:00
Peter Barker d5ea202c20 AP_Compass: mark COMPASS_ENABLED as @RebootRequired 2021-07-30 12:19:42 +10:00
Peter Barker 431c186306 GCS_MAVLink: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Peter Barker c351150a46 AP_Compass: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Peter Barker 78e63a8852 AP_NMEA_Output: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker c34284b6eb AP_NavEKF3: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker dec4ba86b6 AP_NavEKF2: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker dc82487fae AP_Mount: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker b5b4ec94c9 AP_DAL: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker 1d9bfdf8dd AP_Compass: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker ca58aa9c5f AP_AHRS: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker 74859095a9 AP_DAL: add and use compass.available()
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Peter Barker 658c978c9d AP_Compass: add and use compass.available()
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Peter Barker 8bbed968de AP_Compass: remove unused variable 2021-07-30 12:19:42 +10:00
Tatsuya Yamaguchi 4f12c94346 AC_Avoidance: handle upward proximity enable and disable 2021-07-30 12:04:50 +10:00
Peter Barker e4bceb2417 AP_AHRS: move AOA/SSA to AP_AHRS, don't recalc on fetch 2021-07-30 11:23:06 +10:00
Andrew Tridgell 4df62ce719 HAL_ChibiOS: added mRo-M10095 G491 peripheral 2021-07-30 10:20:52 +10:00
Andrew Tridgell 4fce1ae092 HAL_ChibiOS: added G491 support 2021-07-30 10:20:52 +10:00
Andrew Tridgell 0e7c2a27a6 AP_GPS: added arming checks for yaw available on ublox RTK rover 2021-07-30 06:51:21 +10:00
Iampete1 bb624074dd APM_Control: remove outdated tuning guide 2021-07-28 18:26:31 +10:00
Iampete1 4b28f53644 AP_Scripting: add change alt frame method to location userdata 2021-07-28 18:19:23 +10:00
Iampete1 88d4ada96d AP_Vehicle: #ifdef scripting specific functions 2021-07-28 18:18:32 +10:00
Iampete1 e5d4620372 AP_Compass: update orientation param values 2021-07-28 18:09:05 +10:00
Iampete1 9cceb2d5c1 AP_AHRS: update orientation param values 2021-07-28 18:09:05 +10:00
Iampete1 22100dd37c AP_Math: move to 32 digit rotation constants 2021-07-28 18:09:05 +10:00
Iampete1 78e025af39 AP_Compass: add Calibrator index test 2021-07-28 18:09:05 +10:00
Iampete1 5ecfd3fbce AP_Math: remove unused ROTATION_MAX_AUTO_ROTATION define 2021-07-28 18:09:05 +10:00
Iampete1 36a80d46e3 AP_Compass: support auto orientation for new rotations 2021-07-28 18:09:05 +10:00
Iampete1 dbd95f8163 AP_Math: make duplicate rotations clear 2021-07-28 18:09:05 +10:00
Iampete1 080f6c295c AP_Math: examples: rotations: add test for duplicate rotations. 2021-07-28 18:09:05 +10:00
Iampete1 f8220a8adf AP_Math: tests: test quaternion rotation is the same as vector 2021-07-28 18:09:05 +10:00
Iampete1 6c5424aad6 AP_Math: add roll +- 45 rotations 2021-07-28 18:09:05 +10:00
Andrew Tridgell 4b9311d87d AP_Motors: added new MOT_PWM_TYPE=8 for PWM range
this allows multirotors to set individual PWM ranges per motor. This
is needed for heliquads flying as multirotors
2021-07-28 17:40:40 +10:00