Skip to content

Commit

Permalink
AC_PrecLand: Update for AHRS NED changes
Browse files Browse the repository at this point in the history
  • Loading branch information
WickedShell authored and tridge committed Feb 12, 2017
1 parent 50346de commit d71533d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AC_PrecLand/AC_PrecLand_SITL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d71533d

Please sign in to comment.