feat: expand to 4 modes with more priority options

This commit is contained in:
Tobias Büchli
2025-10-01 18:31:12 +02:00
parent 25c66a7ee5
commit 2c062a45ba
6 changed files with 375 additions and 98 deletions
@@ -58,8 +58,10 @@ private:
RcAndJoystickWithFallback = 2, // RC And Joystick with fallback
RcOrJoystickKeepFirst = 3, // RC or Joystick keep first
StickInputDisabled = 4, // input disabled
AscendingPriority = 5, // ascending source priority
DescendingPriority = 6 // descending source priority
RcThenJoystickAscendingPriority = 5, // RC, then Joystick ascending prio
JoystickAscendingThenRcPriority = 6, // Joystick ascending prio, then RC
RcThenJoystickDescendingPriority = 7, // RC, then Joystick descending prio
JoystickDescendingThenRcPriority = 8 // Joystick descending prio, then RC
};
manual_control_setpoint_s _setpoint{};