mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 19:11:35 +08:00
added an rc switch for arming and disarming with the option to use it as a button
This commit is contained in:
committed by
Lorenz Meier
parent
537f72073d
commit
aa984edd90
@@ -279,6 +279,20 @@ PARAM_DEFINE_INT32(COM_DISARM_LAND, 0);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_ARM_WO_GPS, 1);
|
||||
|
||||
/**
|
||||
* Use arm switch is only a button
|
||||
*
|
||||
* The default uses the arm switch as real switch.
|
||||
* If parameter set button gets handled like stick arming.
|
||||
*
|
||||
* @group Commander
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @value 0 Arm switch is a switch that stays on when armed
|
||||
* @value 1 Arm switch is a button that only triggers arming
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_ARM_SWISBTN, 0);
|
||||
|
||||
/**
|
||||
* Battery failsafe mode
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user