commander: don't auto-disarm as fast if not flown

It was found inconvenient that auto-disarm triggers too quickly right
after arming when the vehicle has not actually taken off yet.

Therefore, the auto-disarm takes now by a factor of 5 longer if the
vehicle has not taken off yet.
This commit is contained in:
Julian Oes
2016-10-10 22:47:07 +02:00
committed by Lorenz Meier
parent ddea179e95
commit 0f763768b1
2 changed files with 23 additions and 2 deletions
+4
View File
@@ -251,6 +251,10 @@ PARAM_DEFINE_INT32(COM_RC_ARM_HYST, 1000);
*
* A non-zero, positive value specifies the time-out period in seconds after which the vehicle will be
* automatically disarmed in case a landing situation has been detected during this period.
*
* The vehicle will also auto-disarm right after arming if it has not even flown, however the time
* will be longer by a factor of 5.
*
* A value of zero means that automatic disarming is disabled.
*
* @group Commander