Browse Source

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

sbg
Julian Kent 4 years ago committed by GitHub
parent
commit
d9b3db1082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/modules/navigator/rtl.cpp

4
src/modules/navigator/rtl.cpp

@ -76,6 +76,10 @@ void RTL::find_RTL_destination() @@ -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:

Loading…
Cancel
Save