Commit Graph

123 Commits

Author SHA1 Message Date
Jonathan Challinger fa6bfee433 Copter: add arming check for compass calibration running 2015-09-03 16:59:12 +10:00
Andrew Tridgell 00da3ccc49 Copter: set in_arm_motors to false on all arm failure returns
otherwise if the user fails to arm due to interlock or emergency stop
then they won't be able to try to arm again until they reboot
2015-09-02 11:03:36 +10:00
Robert Lefebvre c968ec3a63 Copter: Helicopters to use motor interlock logic.
Also, remove motor interlock pre-arm check to streamline logic.
2015-08-31 11:43:37 +09:00
Andrew Tridgell 90909f2b4a Copter: added DISARM_DELAY parameter
this allows automatic disarming to be disabled, or set to a shorter or
longer time as appropriate for the user
2015-08-31 11:44:08 +10:00
Randy Mackay 0424b3f93c Copter: pre-arm check of EKF compass variance 2015-08-26 13:59:41 +09:00
Randy Mackay 920d5cefbb Copter: always check GPS before arming in Loiter 2015-08-26 13:15:28 +09:00
squilter 767b4da5b6 Copter: update send text severities 2015-08-25 14:05:25 +09:00
Paul Riseborough dc785fd2ed Copter: shorten disarm counter to 10 seconds 2015-08-15 08:21:13 +09:00
Jonathan Challinger 94fb94d67d Copter: adapt auto disarm for sprung throttle stick copters 2015-08-15 08:21:08 +09:00
Randy Mackay cc27fb46bf Copter: arming check that baro is healthy 2015-07-29 16:32:47 +09:00
Randy Mackay 11c9e46ec7 Copter: arming check that accels and gyro are healty 2015-07-29 16:32:45 +09:00
Randy Mackay 546d668d1d Copter: no set_hover_throttle for TradHeli 2015-07-21 16:26:07 +09:00
Robert Lefebvre e3a0f1568d Copter: Tradheli to check rotor speed control input before arming
Also, force rsc_control input to 0 when disarmed.  This prevents condition where AP_MotorsHeli can receive a rotor speed command greater than zero while disarmed, which was causing the ColYaw function to move the rudder servo.  These two changes are somewhat tied together as it required changing the arming_check to check the RSC_Control not desired_speed from AP_MotorsHeli.
2015-07-21 16:25:25 +09:00
Robert Lefebvre 92de71f993 Copter: Check helicopter parameters during Pre-Arm Checks 2015-07-21 16:25:07 +09:00
Randy Mackay 4e3d0ae0c1 Copter: fix startup logging
Removed potentially endless loop caused by start_logging calling
Log_Write_Startup which called should_log which could then call
start_logging.
Moved disarm event logging above motors disarm so it is logged
2015-07-14 14:03:00 +09:00
Randy Mackay fbe0e5dfb3 Copter: add arming check of fence 2015-07-08 15:27:54 +09:00
Randy Mackay cfe046c9d1 Copter: log EKF height reset 2015-07-06 12:11:54 +09:00
Randy Mackay 63052ff874 Copter: pre-arm check of battery voltage 2015-07-02 14:19:13 +09:00
Randy Mackay ea30e5151d Copter: pre-arm check thr is above failsafe 2015-07-01 16:36:11 +09:00
Randy Mackay 14cf9b1621 Copter: reset ekf height if arming before home set 2015-06-24 16:25:17 +09:00
Randy Mackay 5e40ad5c38 Copter: sonar pre-arm check only if optflow enabled 2015-06-16 17:59:25 +09:00
Andrew Tridgell 278883c521 Copter: finished conversion to .cpp files
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-05-30 15:21:19 +09:00
Andrew Tridgell 356ece3402 Copter: rename .pde files to .cpp files 2015-05-30 15:21:15 +09:00