Commit Graph

36704 Commits

Author SHA1 Message Date
Peter Barker 434f22cf40 AC_Fence: correct fence upload reload boundary trigger
The check in AC_Fence::check_fence_polygon is for boundary points, not
boundary loaded
2019-03-08 08:57:27 +09:00
Peter Barker 194142b343 Tools: autotest: add simple test for fence prearms 2019-03-08 08:57:27 +09:00
Peter Barker cc8912255e Copter: move checking of fence up 2019-03-08 08:57:27 +09:00
Peter Barker a38092e220 Rover: move checking of fence up 2019-03-08 08:57:27 +09:00
Peter Barker 7bdd2eb755 AP_Arming: move checking of fence up 2019-03-08 08:57:27 +09:00
Peter Barker 12981b1f07 AP_Arming: correct use of failure messages as format strings
This is important as if the returned string happens to contain
substitutions (%s in particular), we can attempt to pull random data
off the stack and incorporate it in the string.

This sort of bug is rather famous for serious explots in sendmail.

This could be bad if your stack is relatively full and the memory after
it is inaccessible.
2019-03-07 14:44:26 +11:00
Peter Barker e78eec3292 Tools: autotest: account for Rover blowing past home in DriveRTL 2019-03-07 14:22:09 +11:00
Peter Barker f2e3d377ad Tools: autotest: drain mav during RTL test to improve reliability 2019-03-07 14:22:09 +11:00
Peter Barker c04d2145a1 AC_Fence: correct fence pre-arm position check 2019-03-07 11:42:39 +09:00
Randy Mackay 26fd334882 AP_Arming: provide better feedback on attitude check 2019-03-07 09:34:39 +09:00
Randy Mackay ba02894734 AP_AHRS: attitude pre-arm check skips yaw if no compass
Also provides better feedback on the axis and angular difference
2019-03-07 09:34:39 +09:00
Peter Barker 91436c5314 Tools: autotest: add test for high-throttle-at-mode-change 2019-03-07 11:33:20 +11:00
Peter Barker 0cdb1c9d1e Tools: autotest: remove redundant wait-ready-to arm output 2019-03-07 08:36:35 +11:00
Andrew Tridgell 9e50c1b64e waf: fixed case insensitive board name 2019-03-07 08:36:01 +11:00
Peter Barker b1bbe09602 Tools: autotest: increase timeout on pid tuning 2019-03-07 00:15:05 +11:00
Peter Barker f23c6e1624 Tools: autotest: better streamrate reset 2019-03-06 21:25:16 +11:00
Siddharth Purohit 086b4c1cfd AP_InertialSensor: use default value for temperature scale and offset 2019-03-06 20:47:10 +11:00
Siddharth Purohit 6ff8f52957 AP_Compass: add support for AK09916 connected over fourth IMU over I2C 2019-03-06 20:47:10 +11:00
Siddharth Purohit b76ec8cc11 AP_InertialSensor: fix slave register structure for Invensensev2 2019-03-06 20:47:10 +11:00
Siddharth Purohit 104c433081 AP_Compass: AK09916 fix sample register structure 2019-03-06 20:47:10 +11:00
Siddharth Purohit 0d4725d6c6 HAL: add Invensense register bank based sensor types 2019-03-06 20:47:10 +11:00
Siddharth Purohit cff8bf14b7 AP_Compass: add support for AK09916 via invensensev2 aux bus 2019-03-06 20:47:10 +11:00
Siddharth Purohit 528c0b4d7c AP_InertialSensor: add drivers for register bank based Invensense Sensors 2019-03-06 20:47:10 +11:00
Siddharth Purohit 0cfcd0986e AP_InertialSensor: look for icm20602 for Pixhawk 2 series flight boards 2019-03-06 20:47:10 +11:00
Siddharth Purohit fef81b6381 HAL_ChibiOS: add support for new main sensors 2019-03-06 20:47:10 +11:00
Siddharth Purohit cf7e95eaba BoardConfig: add detection procedure for new sensor configurations 2019-03-06 20:47:10 +11:00
Peter Barker e800ae21ed Tools: autotest: add simple test that althold works 2019-03-06 18:15:13 +11:00
Randy Mackay ead3682e4c Copter: correct ACRO_YAW_P param description
this parameter applies to all flight modes
2019-03-06 14:42:59 +09:00
Randy Mackay 938868cc03 Copter: 3.6.7 release notes 2019-03-06 14:24:25 +09:00
Peter Barker d3b8504757 Tools: autotest: improve debug output 2019-03-06 15:59:32 +11:00
Mark Whitehorn 20bbf99b28 AC_AttitudeControl: add body-frame yaw mode for tailsitters 2019-03-06 15:48:51 +11:00
Mark Whitehorn 4a6b97828f ArduPlane: add tailsitter input type TAILSITTER_INPUT_BF_ROLL 2019-03-06 15:48:51 +11:00
Mark Whitehorn 01d6f1d932 ArduPlane: add body-frame yaw mode for tailsitters 2019-03-06 15:48:51 +11:00
IamPete1 872c3df45c Plane: tailsitter pull in copter ouputs from AP_motors 2019-03-06 14:46:39 +11:00
IamPete1 d075965fce AP_Motors: tailsiter remove push of plane ouputs 2019-03-06 14:46:39 +11:00
Peter Barker 50d95943e3 AC_AttitudeControl: add pre-arm checks 2019-03-06 10:36:32 +09:00
Peter Barker cac87b8e0b Copter: use attitude and position controller prearm checks 2019-03-06 10:36:32 +09:00
Peter Barker b40f03dfbe Tools: autotest: add test for Copter PID parameter checks 2019-03-06 10:36:32 +09:00
Peter Barker a2ebdf6f2e Tools: autotest: Indicate we have handled an alarm 2019-03-06 10:36:32 +09:00
Peter Barker ee15be3bb3 Rover: fix multi-motors prearm check 2019-03-06 10:11:58 +09:00
Peter Barker 0efb404ff6 Tools: autotest: add simple test for AIRSPEED_AUTOCAL 2019-03-06 11:32:52 +11:00
Peter Barker c25ce2cee8 AP_AirSpeed: move sending of airspeed_autocal into AP_AirSpeed 2019-03-06 11:32:52 +11:00
Peter Barker bd444d97dc Plane: move sending of airspeed_autocal into AP_AirSpeed 2019-03-06 11:32:52 +11:00
Peter Barker b4af1dae0f Tools: autotest: skip rudder disarm for balancebot 2019-03-06 10:45:56 +11:00
Peter Barker 5f315aab59 Tools: autotest: fix infinite hang in wait_statustext 2019-03-06 10:45:56 +11:00
Mark Whitehorn 58a128f430 AP_Motors: add support for copter tailsitters
add MotorsMatrixTS tailsitter class
add X quadcopter tailsitter frame
add support for trimotor tailsitter
2019-03-06 07:53:46 +09:00
Mark Whitehorn 6e4a2b97f9 ArduPlane:add subclass for copter tailsitters
cleanup and add tailsit_motmx
add constexpr and motor mask check
add support for tricopter tailsitter
don't call output_motor_mask unless armed
fix whitespace
2019-03-06 07:53:46 +09:00
Peter Barker 4f69eefd4a Copter: remove unused includes 2019-03-05 13:19:29 +09:00
Peter Barker 2006ecf109 AP_Notify: add OBC colour scheme 2019-03-05 13:44:16 +11:00
Peter Barker f8ac5a5419 AP_Notify: add parameter for logic level buzzer sounds at 2019-03-05 13:27:01 +11:00