mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 05:47:35 +08:00
Commander: enable failsafe delay for position and mission mode
Instead of directly doing the link loss reaction which by default is RTL a delay can be configured such that the drone first switches to hold and waits for the link to be regained.
This commit is contained in:
@@ -2545,7 +2545,8 @@ Commander::run()
|
||||
(link_loss_actions_t)_param_nav_rcl_act.get(),
|
||||
(offboard_loss_actions_t)_param_com_obl_act.get(),
|
||||
(offboard_loss_rc_actions_t)_param_com_obl_rc_act.get(),
|
||||
(position_nav_loss_actions_t)_param_com_posctl_navl.get());
|
||||
(position_nav_loss_actions_t)_param_com_posctl_navl.get(),
|
||||
_param_com_ll_delay.get());
|
||||
|
||||
if (nav_state_changed) {
|
||||
_status.nav_state_timestamp = hrt_absolute_time();
|
||||
|
||||
Reference in New Issue
Block a user