Browse Source

AC_PrecLand: Update for AHRS NED changes

master
Michael du Breuil 8 years ago committed by Andrew Tridgell
parent
commit
d71533dc2b
  1. 2
      libraries/AC_PrecLand/AC_PrecLand_SITL.cpp

2
libraries/AC_PrecLand/AC_PrecLand_SITL.cpp

@ -28,7 +28,7 @@ void AC_PrecLand_SITL::update()
// get new sensor data; we always point home // get new sensor data; we always point home
Vector3f home; Vector3f home;
if (! _frontend._ahrs.get_relative_position_NED(home)) { if (! _frontend._ahrs.get_relative_position_NED_home(home)) {
_state.healthy = false; _state.healthy = false;
return; return;
} }

Loading…
Cancel
Save