We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 618995d commit 857b48dCopy full SHA for 857b48d
src/modules/commander/failsafe/failsafe.cpp
@@ -669,6 +669,15 @@ FailsafeBase::Action Failsafe::checkModeFallback(const failsafe_flags_s &status_
669
if (action == Action::Disarm) {
670
return action;
671
}
672
+
673
+ if (action == Action::FallbackPosCtrl || action == Action::FallbackAltCtrl || action == Action::FallbackStab) {
674
+ // Check if RC is available, if not use the mode specified in NAV_RCL_ACT
675
+ if (status_flags.manual_control_signal_lost) {
676
+ ActionOptions rc_loss_action = fromNavDllOrRclActParam(_param_nav_rcl_act.get());
677
+ action = rc_loss_action.action;
678
+ }
679
680
681
682
683
// PosCtrl/PositionSlow -> AltCtrl
0 commit comments