Commander: allow disabling RC loss failsafe for mission, hold, offboard independently

This commit is contained in:
Matthias Grob
2021-06-18 18:17:19 +02:00
parent 933d31b476
commit 11556d4e9a
5 changed files with 65 additions and 33 deletions
+2 -1
View File
@@ -2575,7 +2575,8 @@ Commander::run()
static_cast<offboard_loss_actions_t>(_param_com_obl_act.get()),
static_cast<offboard_loss_rc_actions_t>(_param_com_obl_rc_act.get()),
static_cast<position_nav_loss_actions_t>(_param_com_posctl_navl.get()),
_param_com_rcl_act_t.get());
_param_com_rcl_act_t.get(),
_param_com_rcl_except.get());
if (nav_state_changed) {
_status.nav_state_timestamp = hrt_absolute_time();