Skip to content

Commit

Permalink
Commander: Increase auto-disarm timeout to 25 seconds after arming
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Apr 2, 2021
1 parent 278633c commit 1ec8ce5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/commander/commander_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,16 @@ PARAM_DEFINE_FLOAT(COM_DISARM_LAND, 2.0f);
* A non-zero, positive value specifies the time after arming, in seconds, within which the
* vehicle must take off (after which it will automatically disarm).
*
* This is set to 25 seconds to ensure a system will not disarm if the pilot is not immediately
* taking off, but not so long that a system is completely forgotten about.
*
* A zero or negative value means that automatic disarming triggered by a pre-takeoff timeout is disabled.
*
* @group Commander
* @unit s
* @decimal 2
*/
PARAM_DEFINE_FLOAT(COM_DISARM_PRFLT, 10.0f);
PARAM_DEFINE_FLOAT(COM_DISARM_PRFLT, 25.0f);


/**
Expand Down

0 comments on commit 1ec8ce5

Please sign in to comment.