mirror of https://github.com/ArduPilot/ardupilot
AP_Follow: rename AP_AHRS::get_position to get_location
This commit is contained in:
parent
9264a25955
commit
88afef4cdc
|
@ -179,7 +179,7 @@ bool AP_Follow::get_target_dist_and_vel_ned(Vector3f &dist_ned, Vector3f &dist_w
|
|||
{
|
||||
// get our location
|
||||
Location current_loc;
|
||||
if (!AP::ahrs().get_position(current_loc)) {
|
||||
if (!AP::ahrs().get_location(current_loc)) {
|
||||
clear_dist_and_bearing_to_target();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue