mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 18:41:35 +08:00
Change RC override to affect offboard mode as well
-Defines COM_RC_OVERRIDE as a bitmask -Changes RC override to affect auto modes, offboard mode, or both
This commit is contained in:
committed by
Matthias Grob
parent
fee7f69d63
commit
d54ab5f6eb
@@ -631,13 +631,18 @@ PARAM_DEFINE_INT32(COM_ARM_MAG_STR, 1);
|
||||
|
||||
/**
|
||||
* Enable RC stick override of auto modes
|
||||
* Enable RC stick override of auto or offboard modes
|
||||
*
|
||||
* When an auto mode is active (except a critical battery reaction) moving the RC sticks
|
||||
* gives control back to the pilot in manual position mode immediately.
|
||||
* Moving the RC sticks gives control back to the pilot in manual position mode immediately when:
|
||||
* 0: an auto mode is active (except a critical battery reaction)
|
||||
* 1: offboard mode is active
|
||||
*
|
||||
* Only has an effect on multicopters and VTOLS in multicopter mode.
|
||||
*
|
||||
* @boolean
|
||||
* @min 0
|
||||
* @max 3
|
||||
* @bit 0 Enable override of auto modes
|
||||
* @bit 1 Enable override of offboard mode
|
||||
* @group Commander
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_RC_OVERRIDE, 1);
|
||||
|
||||
Reference in New Issue
Block a user