mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 06:23:34 +08:00
ManualControlSelector: refactor selection to chose based on a single condition
This commit is contained in:
@@ -53,10 +53,10 @@ public:
|
||||
private:
|
||||
static manual_control_setpoint_s setpoint_from_input(const manual_control_input_s &input);
|
||||
|
||||
manual_control_setpoint_s _setpoint {};
|
||||
uint64_t _timeout {0};
|
||||
int32_t _rc_in_mode {0};
|
||||
int _instance {-1};
|
||||
manual_control_setpoint_s _setpoint{};
|
||||
uint64_t _timeout{0};
|
||||
int32_t _rc_in_mode{0};
|
||||
int _instance{-1};
|
||||
};
|
||||
|
||||
} // namespace manual_control
|
||||
|
||||
Reference in New Issue
Block a user