mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 04:53:34 +08:00
navigator: switch to events
This commit is contained in:
@@ -342,7 +342,7 @@ MissionBlock::is_mission_item_reached()
|
||||
(_navigator->get_yaw_timeout() >= FLT_EPSILON) &&
|
||||
(now - _time_wp_reached >= (hrt_abstime)_navigator->get_yaw_timeout() * 1e6f)) {
|
||||
|
||||
_navigator->set_mission_failure("unable to reach heading within timeout");
|
||||
_navigator->set_mission_failure_heading_timeout();
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user