mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-15 06:37:35 +08:00
Check that home position is valid in RTL (#15964)
This commit is contained in:
@@ -76,6 +76,10 @@ void RTL::find_RTL_destination()
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_navigator->home_position_valid()) {
|
||||
return;
|
||||
}
|
||||
|
||||
_destination_check_time = hrt_absolute_time();
|
||||
|
||||
// get home position:
|
||||
|
||||
Reference in New Issue
Block a user