AC_PrecLand: Update for AHRS NED changes

This commit is contained in:
Michael du Breuil 2017-01-30 12:08:34 -07:00 committed by Andrew Tridgell
parent 50346de963
commit d71533dc2b

View File

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