mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-11 04:31:35 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user