Commit Graph

11920 Commits

Author SHA1 Message Date
Randy Mackay 9f63de9b59 AC_PosControl: set_speed_z accepts positive descent speeds 2014-04-30 21:46:09 +09:00
Randy Mackay 466e9db1f9 Copter: integrate AC_WPNav get_speed_xy name change 2014-04-30 21:46:07 +09:00
Randy Mackay 510c9920a6 AC_WPNav: rename get_horizontal_velocity to get_speed_xy
This new method name is consistent with the equivalent in the
AC_PosControl class
2014-04-30 21:46:06 +09:00
Andrew Tridgell eb1fb63e57 APM_Control: added logging of parameter changes in AUTOTUNE
this will make it easier to analyse logs
2014-04-30 22:22:13 +10:00
Andrew Tridgell 92714b09d2 Plane: added ATRP log header to plane log headers
too many people can't understand how to download .bin logs
2014-04-30 21:22:28 +10:00
Andrew Tridgell 871d0c0e44 APM_Control: moved the log structure to ArduPlane core
this allows it to work with old style .log files
2014-04-30 21:22:28 +10:00
Andrew Tridgell 4f250579db DataFlash: added LOG_ATRP_MSG define 2014-04-30 21:22:28 +10:00
Randy Mackay 5b3438850d Copter: fix typo in Log_Write_Baro
Log_Write_Baro should be an empty function when logging is disabled
Fix contributed by Jason Short
2014-04-30 08:50:51 +09:00
priseborough 114bd56e2a AP_NavEKF: Fix display names in parameter list 2014-04-30 06:35:41 +10:00
Randy Mackay 5cc26569fc AP_Motors: fix example sketch 2014-04-29 20:46:34 +09:00
priseborough 5fefce5899 AP_NavEKF: Synthetic sideslip fusion numerical error protections 2014-04-29 17:26:45 +10:00
Craig Elder 241557e5e0 Copter: Corrected typo in RC_FEEL_RP parameter description 2014-04-28 23:56:49 -07:00
Jonathan Challinger 0bc0abf02d Plane: Supply compass with current measurement for compassmot 2014-04-29 16:20:19 +10:00
Jonathan Challinger 0bb7b8e938 AP_GPS: Fix bug that causes permanent lag if we miss a message 2014-04-29 15:35:46 +10:00
Randy Mackay 416e9457ce Copter: remove cli motor test 2014-04-29 11:41:17 +09:00
Randy Mackay 2be99d7a92 TriCopter: output_test for individual motors
Based on original work by Nils Hogberg
2014-04-29 11:41:16 +09:00
Randy Mackay 07766e55f9 SingleCopter: output_test for individual motors
Based on original work by Nils Hogberg
2014-04-29 11:41:14 +09:00
Randy Mackay 3610cfe24c TradHeli: output_test for individual motors
Based on original work by Nils Hogberg
2014-04-29 11:41:13 +09:00
Randy Mackay 8f74f5b3b0 CoaxCopter: output_test for individual motors
Based on original work by Nils Hogberg
2014-04-29 11:41:12 +09:00
Randy Mackay d63d82ec17 MotorMatrix: output_test for individual motors
Based on original work by Nils Hogberg
2014-04-29 11:41:10 +09:00
Vizual54 11d02ea5d2 AP_Motors: output_test for individual motors
Modified and integrated by Randy Mackay
2014-04-29 11:36:58 +09:00
Randy Mackay ae9477600c Copter: add mavlink motor_test
Based on original work by Nils Hogberg
2014-04-29 11:31:45 +09:00
Randy Mackay 6517638670 GCS_MAVLink: generate after adding DO_MOTOR_TEST 2014-04-29 11:23:07 +09:00
Randy Mackay 28846c6c99 GCS_MAVLink: add DO_MOTOR_TEST message 2014-04-29 11:23:04 +09:00
Andrew Tridgell 0408c11637 Plane: mark 3.0.2beta 2014-04-29 11:56:52 +10:00
Andrew Tridgell 818e500509 AP_Mission: improve the AP_Mission docs
DisplayName isn't a description
2014-04-29 11:46:06 +10:00
Andrew Tridgell ccc8a6a6ed Plane: use MIS_AUTORESET when entering AUTO mode 2014-04-29 11:46:06 +10:00
Andrew Tridgell 956ff65a25 Plane: RC override input should be considered as valid RC input
this prevents us setting trim values under joystick control
2014-04-29 11:46:06 +10:00
Andrew Chapman 782fbe1ec5 AP_Mission: added reset() function 2014-04-29 11:46:06 +10:00
Andrew Chapman a80e72ff82 AP_Mission: added MIS_AUTORESTART parameter
- added MIS_AUTORESTART parameter, defaults to 0
- added start_or_resume() function to either start or resume a mission
based on that parameter value
2014-04-29 11:46:06 +10:00
Craig Elder 00033bd302 Copter: Update RC_FEEL_RP Description 2014-04-28 17:44:09 -07:00
Randy Mackay b9b3a39a83 Copter: fence enable/disable via MAVLink 2014-04-27 16:18:17 +09:00
Randy Mackay d3411e45bb Copter: use get_current_nav_index() 2014-04-27 16:00:44 +09:00
Randy Mackay 5fe86a657e Copter: land_do_not_use_GPS has no return value 2014-04-27 15:41:41 +09:00
Randy Mackay 0665cf6b28 Copter: RTL alt should not be above fence alt
Resolves issue #435
If the altitude fence is enabled, when the vehicle RTLs it will return
at the lower of the RTL_ALT and the FENCE_ALT_MAX
2014-04-27 15:41:37 +09:00
Randy Mackay 4686eef266 Copter: GPS failsafe ensures LAND is pilot-controlled
This resolves issue #880 in which if a GPS failsafe occurred while the
vehicle was already in LAND mode, the LAND would continue to be GPS
controlled LAND instead of pilot-controlled LAND
2014-04-27 15:11:47 +09:00
Andrew Tridgell 2acddb9696 Replay: fixed ahrs.set_fly_forward() in Replay for copter 2014-04-27 15:37:02 +10:00
Andrew Tridgell cf9b67d8fc GCS_MAVLink: prevent uninitialised bytes being written to a serial port 2014-04-27 15:34:30 +10:00
Andrew Tridgell 0306dbf5f1 Plane: moved auto mode variables to auto_state 2014-04-27 15:34:30 +10:00
Randy Mackay dba8fac515 Copter: remove unused variables from fence.pde
saves 2 bytes
2014-04-27 11:11:12 +09:00
Randy Mackay 1aeaa5955b Copter: integrate 10sec manual recovery after fence breach 2014-04-27 11:11:09 +09:00
Randy Mackay e855cfec02 AC_Fence: add 10sec manual recovery
This resolves issue #461 by giving the pilot a minimum of 10 seconds to
attempt to manually recover before the autopilot will attempt to retake
control to bring the copter home or land.
2014-04-27 11:11:07 +09:00
Randy Mackay 20de5b3006 Copter: Loiter clears out pilot acceleration when failsafe occurs
This ensures invalid pilot desired accelerations are cleared from the
loiter controller.  This is probably not strictly necessary because the
vehicle should switch out of Loiter and into RTL during failsafe.
2014-04-25 14:45:19 +09:00
Randy Mackay 05d9dc5cba Copter: RTL always land if in radio failsafe
Resolves issue in which vehicle would get stuck at RTL_ALT_FINAL if
failsafe occured.
Also clear out pilot acceleration from loiter controller if failsafe
occurs during the final descent.
2014-04-25 14:45:16 +09:00
Randy Mackay db51d37071 AC_WPNav: add clear_pilot_desired_acceleration
This allows quickly clearing out the pilot desired acceleration for
loiter contoller.
2014-04-25 14:45:14 +09:00
Randy Mackay 40650aeb68 Copter: roll and pitch nudging in RTL descent 2014-04-25 14:17:03 +09:00
Michael Oborne 68f439acbe Fix auto doc group names 2014-04-25 07:53:03 +08:00
Randy Mackay 06bef6e3b8 Parachute: clear release time when enabled
This resolves an issue in which the parachute could be suddenly released
when the user enabled the parachute.  The sequence that could have
caused this bad behaviour were (1) the parachute is triggered (2) the
user disables the parachute in the 0.5sec between the trigger and the
actual release, (3) the user re-enables the parachute and the old
release time from (1) is used.
2014-04-24 19:22:11 +09:00
Randy Mackay 19f1e7fec4 Copter: disable Parachute by default
This saves 1k of flash and we are desperately low on the APM1/APM2.
Hopefully we can find savings somewhere and re-enable it by default.
2014-04-24 19:02:32 +09:00
Randy Mackay ea64438ef9 Copter: RTL ensures heading is back to initial heading
This fixes the issue in which a short RTL_LOIT_TIME could cause the
vehicle's heading to be caught between it's heading when it arrived at
home and the initial armed heading.  With this fix it now waits above
home until the timer has run out AND the heading is within 2degrees of
the initial armed heading.
2014-04-24 18:54:49 +09:00