Rover: use get_projected_position()

this will make for more accurate turns in missions
This commit is contained in:
Andrew Tridgell 2013-05-17 08:32:36 +10:00
parent c08c084191
commit ca8e4519cc

View File

@ -807,7 +807,7 @@ static void update_GPS(void)
}
}
have_position = ahrs.get_position(&current_loc);
have_position = ahrs.get_projected_position(&current_loc);
if (g_gps->new_data && g_gps->status() >= GPS::GPS_OK_FIX_3D) {
gps_fix_count++;