Add parameter COM_PREARM_MODE

Condition to enter the prearmed state, an intermediate state between disarmed and armed
 * in which non-throttling actuators are active.
 *
 * @value 0 Disabled
 * @value 1 Safety button
 * @value 2 Always
This commit is contained in:
Julien Lecoeur
2019-09-02 10:47:40 -04:00
committed by Daniel Agar
parent bc58bed960
commit 9c50f5ea08
3 changed files with 49 additions and 10 deletions
+14
View File
@@ -953,3 +953,17 @@ PARAM_DEFINE_INT32(COM_FLT_PROFILE, 0);
* @boolean
*/
PARAM_DEFINE_INT32(COM_ARM_CHK_ESCS, 1);
/**
* Condition to enter prearmed mode
*
* Condition to enter the prearmed state, an intermediate state between disarmed and armed
* in which non-throttling actuators are active.
*
* @value 0 Disabled
* @value 1 Safety button
* @value 2 Always
*
* @group Commander
*/
PARAM_DEFINE_INT32(COM_PREARM_MODE, 1);