mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 13:41:36 +08:00
Commander: add parameter to disallow disarming in manual thrust modes
This commit is contained in:
committed by
Mathieu Bresciani
parent
78987f6016
commit
ead16d0e6c
@@ -245,6 +245,19 @@ PARAM_DEFINE_INT32(COM_ARM_WO_GPS, 1);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_ARM_SWISBTN, 0);
|
||||
|
||||
/**
|
||||
* Allow disarming via switch/stick/button on multicopters in manual thrust modes
|
||||
*
|
||||
* 0: Disallow disarming when not landed
|
||||
* 1: Allow disarming in multicopter flight in modes where
|
||||
* the thrust is directly controlled by thr throttle stick
|
||||
* e.g. Stabilized, Acro
|
||||
*
|
||||
* @group Commander
|
||||
* @boolean
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_DISARM_MAN, 1);
|
||||
|
||||
/**
|
||||
* Battery failsafe mode
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user