Check that home position is valid in RTL (#15964)

This commit is contained in:
Julian Kent
2020-10-20 10:31:44 +02:00
committed by Daniel Agar
parent 8a516e5488
commit 377dc909ed
+4
View File
@@ -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: