Commit Graph

40162 Commits

Author SHA1 Message Date
Matt Lawrence baa0926fe5 Autotest: Refactor failsafe tests 2020-02-05 10:51:29 +11:00
Matt Lawrence e0b27d6dab Copter: Refactor failsafes, add fs_options bitmask parameter
- Radio failsafe, battery failsafe, GCS failsafe refactoring
- Add new FS_OPTIONS parameter
- Enhance GCS Failsafe abilities
2020-02-05 10:51:29 +11:00
Leonard Hall 0082f61b9c AP_Motors: yaw headroom fix 2020-02-05 10:51:29 +11:00
Leonard Hall 5fe103d092 Plane: limit ATC_MOT_MIX_MAX in case of a fly away 2020-02-05 10:51:29 +11:00
Leonard Hall 157374ad18 Copter: limit ATC_MOT_MIX_MAX in case of a fly away 2020-02-05 10:51:29 +11:00
Leonard Hall 080b534493 AC_AttitudeControl: limit ATC_MOT_MIX_MAX in case of a fly away 2020-02-05 10:51:29 +11:00
Leonard Hall b84078d396 Heli: Prevent loss of yaw control during large angle recovery 2020-02-05 10:51:29 +11:00
Leonard Hall 5ef676e40c AC_AttitudeControl: Prevent loss of yaw control during large angle recovery. 2020-02-05 10:51:29 +11:00
Randy Mackay bc1697fec3 AP_BLHeli: minor style fix for get_average_moto_frequency_hz 2020-02-05 10:51:29 +11:00
Andy Piper 79e551b8d3 AP_InertialSensor: expose harmonic notch tracking mode 2020-02-05 10:51:29 +11:00
Andy Piper 21315d03b2 AP_BLHeli: add get_average_motor_frequency_hz() for dynamic filtering
correctly calculate rpm from erpm
2020-02-05 10:51:29 +11:00
Andy Piper 5b08b03121 ArduCopter: add support for BLHeli telemetry-based updates to the harmonic notch
refactor to include RPM for all copter types
2020-02-05 10:51:29 +11:00
Andy Piper d94b70a88e Filter: add harmonic notch dynamic tracking mode
update harmonic notch REF docs
2020-02-05 10:51:29 +11:00
Leonard Hall 6725011f78 AP_Motors: Add full yaw range calculation back 2020-02-05 10:51:29 +11:00
Leonard Hall 50422d24d0 AP_Motors: Freeze motor lost index on enabling thrust boost 2020-02-05 10:51:29 +11:00
Randy Mackay b8fe1e6f41 AP_NavEKF3: initialise pre-arm failure message 2020-02-05 10:51:29 +11:00
Randy Mackay 18af8b0b7f AP_NavEKF2: initialise pre-arm failure message 2020-02-05 10:51:29 +11:00
Siddharth Purohit 83125e9199 HAL_ChibiOS: fix writing into a NULL pointer CANFD interrupt 2020-02-05 10:51:29 +11:00
Randy Mackay ab87655a13 GCS_MAVLink: mission item support more mav frames 2020-02-05 10:51:29 +11:00
Randy Mackay eeb82b3bbc Copter: fix PSC_ACCZ_FILT to _FLTE param conversion 2020-02-05 10:51:29 +11:00
Mark Whitehorn 32a5ea13b4 AP_NavEKF2: add prearm failure message for null core pointer 2020-02-05 10:51:29 +11:00
Mark Whitehorn 8b2b7444d3 AP_NavEKF3: add prearm failure message for null core pointer 2020-02-05 10:51:29 +11:00
Randy Mackay 5049a5fbd4 Copter: version to 4.0.0-rc1 2020-02-05 10:51:29 +11:00
Randy Mackay 392d3ea21e Copter: update 4.0.0-rc1 release notes 2020-02-05 10:51:29 +11:00
Randy Mackay d209067bcc Copter: 4.0.0-rc1 release notes 2020-02-05 10:51:29 +11:00
Randy Mackay 3c68376372 Copter: multicopter ATC_RAT_RLL/PIT_FILT copied to FLTD and FLTT 2020-02-05 10:51:28 +11:00
Andrew Tridgell 8f6871e4cc Tools: cope with location of AP_Periph in Tools directory 2020-02-05 10:51:28 +11:00
Andrew Tridgell 06ab862a33 HAL_ChibiOS: removed CAN_APP_VERSION_MAJOR from hwdef.dat 2020-02-05 10:51:28 +11:00
Andrew Tridgell 0ec359d148 AP_Periph: use ArduPilot version system
this will allow build_binaries to find the version
2020-02-05 10:51:28 +11:00
Andrew Tridgell f0513cc8a8 Tools: include bin files on firmware server for AP_Periph 2020-02-05 10:51:28 +11:00
Andrew Tridgell 4f0311c45d Tools: added f103-ADSB bootloader 2020-02-05 10:51:28 +11:00
Andrew Tridgell 7df7494591 Tools: added ZubaxGNSS bootloader 2020-02-05 10:51:28 +11:00
Michael du Breuil 2ab8ce712f AP_Scripting: Add plane failsafe example script 2020-02-05 10:51:28 +11:00
Michael du Breuil 4c271c6436 AP_Scripting: Fix nullable arguments numbering, add location bearing 2020-02-05 10:51:28 +11:00
Michael du Breuil 5448bb021e AP_Common: Add a radian method for getting location bearings 2020-02-05 10:51:28 +11:00
Michael du Breuil 38c71f875d AP_Scripting: Allow scripts to set the mode 2020-02-05 10:51:28 +11:00
Michael du Breuil b0f66237de Sub: Support new AP_Vehicle::set_mode 2020-02-05 10:51:28 +11:00
Michael du Breuil e5a1654bb6 Plane: Support new AP_Vehicle::set_mode 2020-02-05 10:51:28 +11:00
Michael du Breuil ba6eb83ae7 Copter: Support new AP_Vehicle::set_mode 2020-02-05 10:51:28 +11:00
Michael du Breuil 161aa7fdde Tracker: Support new AP_Vehicle::set_mode 2020-02-05 10:51:28 +11:00
Michael du Breuil de5235ac19 Rover: Support new AP_Vehicle::set_mode 2020-02-05 10:51:28 +11:00
Michael du Breuil bb0f301cab AP_Logger: Support new ModeReason 2020-02-05 10:51:28 +11:00
Michael du Breuil 3d8fc54b5d GCS_MAVLink: Use the vehicle singleton to directly set the flight mode 2020-02-05 10:51:28 +11:00
Michael du Breuil edff966782 AP_Vehicle: Support set_mode 2020-02-05 10:51:28 +11:00
Peter Barker 79638db36b AP_HAL_Linux: release mutex lock before calling write(c)
It instantly tries to take it, but we're still holding it, leading to
instant failure.

This mirrors the same code in AP_HAL_ChibiOS.
2020-02-05 10:51:28 +11:00
Andrew Tridgell b7fba78087 Tools: auto-build AP_Periph binaries 2020-02-05 10:51:28 +11:00
Andrew Tridgell 1bdac4811d AP_RangeFinder: disable some incompatible drivers for AP_Periph 2020-02-05 10:51:28 +11:00
Andrew Tridgell 2059c7bf20 Tools: fixed build with --out directory for build_binaries 2020-02-05 10:51:28 +11:00
Andrew Tridgell 322cd745fc HAL_ChibiOS: set correct APJ_BOARD_ID for ZubaxGNSS 2020-02-05 10:51:28 +11:00
Andrew Tridgell 63c60bda7f AP_Periph: use APJ_BOARD_ID in hw major/minor 2020-02-05 10:51:28 +11:00