mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 01:21:36 +08:00
Fix enum for COM_RC_IN_MODE in failsafe
add enum RcInMode Signed-off-by: Beniamino Pozzan <beniamino.pozzan@phd.unipd.it>
This commit is contained in:
committed by
Beat Küng
parent
8fe65c6722
commit
957a06a780
@@ -123,6 +123,15 @@ private:
|
||||
Hold_mode = 2,
|
||||
};
|
||||
|
||||
// COM_RC_IN_MODE parameter values
|
||||
enum class RcInMode : int32_t {
|
||||
RcTransmitterOnly = 0, // RC Transmitter only
|
||||
JoystickOnly = 1, // Joystick only
|
||||
RcAndJoystickWithFallback = 2, // RC And Joystick with fallback
|
||||
RcOrJoystickKeepFirst = 3, // RC or Joystick keep first
|
||||
StickInputDisabled = 4 // input disabled
|
||||
};
|
||||
|
||||
static ActionOptions fromNavDllOrRclActParam(int param_value);
|
||||
|
||||
static ActionOptions fromGfActParam(int param_value);
|
||||
|
||||
Reference in New Issue
Block a user