Commit Graph

40236 Commits

Author SHA1 Message Date
Matt Lawrence 9ba4941aa7 Copter: Refactor failsafes, add fs_options bitmask parameter
- Radio failsafe, battery failsafe, GCS failsafe refactoring
- Add new FS_OPTIONS parameter
- Enhance GCS Failsafe abilities
2019-11-03 08:15:13 +09:00
Andrew Tridgell c11a6030d3 HAL_ChibiOS: fixed SPI timeout bug
thanks to CUAV for noticing
2019-11-03 08:14:41 +09:00
Andrew Tridgell a140ab1415 AP_BLHeli: fixed critical errors caused by BLHeli code 2019-11-01 08:51:53 +09:00
Leonard Hall bd34c7745a AP_Motors: yaw headroom fix 2019-10-31 20:12:34 +09:00
Leonard Hall 9e04029699 Plane: limit ATC_MOT_MIX_MAX in case of a fly away 2019-10-31 20:12:29 +09:00
Leonard Hall eef916aa99 Copter: limit ATC_MOT_MIX_MAX in case of a fly away 2019-10-31 20:12:26 +09:00
Leonard Hall f61a6c81fe AC_AttitudeControl: limit ATC_MOT_MIX_MAX in case of a fly away 2019-10-31 20:12:23 +09:00
Leonard Hall 6d09807b35 Heli: Prevent loss of yaw control during large angle recovery 2019-10-31 20:11:43 +09:00
Leonard Hall 2038a6a61b AC_AttitudeControl: Prevent loss of yaw control during large angle recovery. 2019-10-31 20:11:39 +09:00
Randy Mackay 668b30e8e9 AP_BLHeli: minor style fix for get_average_moto_frequency_hz 2019-10-31 20:10:39 +09:00
Andy Piper ca19be9d7c AP_InertialSensor: expose harmonic notch tracking mode 2019-10-31 20:10:36 +09:00
Andy Piper 78d9330a4a AP_BLHeli: add get_average_motor_frequency_hz() for dynamic filtering
correctly calculate rpm from erpm
2019-10-31 20:10:33 +09:00
Andy Piper bf12c686c7 ArduCopter: add support for BLHeli telemetry-based updates to the harmonic notch
refactor to include RPM for all copter types
2019-10-31 20:10:30 +09:00
Andy Piper 3b6598b0e9 Filter: add harmonic notch dynamic tracking mode
update harmonic notch REF docs
2019-10-31 20:10:28 +09:00
Leonard Hall 90601404b5 AP_Motors: Add full yaw range calculation back 2019-10-31 20:09:13 +09:00
Leonard Hall 485584f732 AP_Motors: Freeze motor lost index on enabling thrust boost 2019-10-31 20:09:09 +09:00
Randy Mackay 8adddcc8b8 AP_NavEKF3: initialise pre-arm failure message 2019-10-31 20:08:41 +09:00
Randy Mackay ae661ada20 AP_NavEKF2: initialise pre-arm failure message 2019-10-31 20:08:38 +09:00
Siddharth Purohit 8b09d82014 HAL_ChibiOS: fix writing into a NULL pointer CANFD interrupt 2019-10-31 20:08:21 +09:00
Randy Mackay 0ac53a7df4 GCS_MAVLink: mission item support more mav frames 2019-10-31 20:08:01 +09:00
Andrew Tridgell 3b376e5af0 AP_Compass: remove expected error
this happens with AK09916 probing on invensense sensor
2019-10-31 20:07:04 +09:00
Randy Mackay c2a1ab988d Copter: fix PSC_ACCZ_FILT to _FLTE param conversion 2019-10-31 20:06:49 +09:00
Mark Whitehorn 2ffca3fe6b AP_NavEKF2: add prearm failure message for null core pointer 2019-10-31 20:05:36 +09:00
Mark Whitehorn 3de365626d AP_NavEKF3: add prearm failure message for null core pointer 2019-10-31 20:05:33 +09:00
Andrew Tridgell 824d986dcb HAL_ChibiOS: fixed build of sparky2
running out of flash
2019-10-31 20:05:17 +09:00
vierfuffzig 7fd3364304 AP_BLHeli: fix eRPM conversion 2019-10-31 20:03:03 +09:00
Randy Mackay ec01ae4ce7 Copter: version to 4.0.0-rc1 2019-10-26 09:32:39 +09:00
Randy Mackay a2b60689a7 Copter: update 4.0.0-rc1 release notes 2019-10-26 09:32:32 +09:00
Randy Mackay 4b31c3074c Copter: 4.0.0-rc1 release notes 2019-10-25 14:35:41 +09:00
Randy Mackay 85f963b961 Copter: multicopter ATC_RAT_RLL/PIT_FILT copied to FLTD and FLTT 2019-10-25 12:28:00 +08:00
Andrew Tridgell cd98659abe Tools: cope with location of AP_Periph in Tools directory 2019-10-25 13:52:43 +11:00
Andrew Tridgell 6f9fda5094 HAL_ChibiOS: removed CAN_APP_VERSION_MAJOR from hwdef.dat 2019-10-25 13:52:43 +11:00
Andrew Tridgell 1352557ebb AP_Periph: use ArduPilot version system
this will allow build_binaries to find the version
2019-10-25 13:52:43 +11:00
Andrew Tridgell 9a176526d7 Tools: include bin files on firmware server for AP_Periph 2019-10-25 13:52:43 +11:00
Andrew Tridgell 355839e413 Tools: added f103-ADSB bootloader 2019-10-25 11:54:58 +11:00
Andrew Tridgell 54eabfc8e9 Tools: added ZubaxGNSS bootloader 2019-10-25 11:53:41 +11:00
Michael du Breuil 0edc8a55a0 AP_Scripting: Add plane failsafe example script 2019-10-25 08:48:22 +08:00
Michael du Breuil 610dff61d8 AP_Scripting: Fix nullable arguments numbering, add location bearing 2019-10-25 08:48:22 +08:00
Michael du Breuil a99f67fd5b AP_Common: Add a radian method for getting location bearings 2019-10-25 08:48:22 +08:00
Michael du Breuil 82a7116142 AP_Scripting: Allow scripts to set the mode 2019-10-25 08:48:22 +08:00
Michael du Breuil 3f94f0d517 Sub: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil ee96ec7f0d Plane: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil b42b1c08c4 Copter: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil 6d7b196212 Tracker: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil a1acc75e11 Rover: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Michael du Breuil c369139be0 AP_Logger: Support new ModeReason 2019-10-25 08:48:22 +08:00
Michael du Breuil cb1b236439 GCS_MAVLink: Use the vehicle singleton to directly set the flight mode 2019-10-25 08:48:22 +08:00
Michael du Breuil a44a7f541b AP_Vehicle: Support set_mode 2019-10-25 08:48:22 +08:00
Peter Barker 0f4337b7b1 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.
2019-10-25 11:38:16 +11:00
Andrew Tridgell 6f6a8d5d14 Tools: auto-build AP_Periph binaries 2019-10-25 09:35:27 +11:00