mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-29 11:40:28 +08:00
feat(commander): add NAV_RCL_ACT 7 (Hold without failsafe) (#27792)
Signed-off-by: Silvan <silvan@auterion.com>
This commit is contained in:
1 parent
994dec2c41
commit
7cb2ac28ba
6 files changed
+61
-2
No files matched your search
@@ -53,6 +53,10 @@ FailsafeBase::ActionOptions Failsafe::fromNavDllOrRclActParam(int param_value)
|
||||
|
||||
switch (gcs_connection_loss_failsafe_mode(param_value)) {
|
||||
case gcs_connection_loss_failsafe_mode::Disabled:
|
||||
|
||||
// No failsafe action: for NAV_RCL_ACT this is handled by Commander switching to Hold as a regular
|
||||
// mode change (see Commander::manualControlLossModeSwitch()).
|
||||
case gcs_connection_loss_failsafe_mode::Hold_mode_no_failsafe:
|
||||
default:
|
||||
options.action = Action::None;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user