Browse Source

AP_NMEA_Output: rename AP_AHRS::get_position to get_location

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
88b463947a
  1. 4
      libraries/AP_NMEA_Output/AP_NMEA_Output.cpp

4
libraries/AP_NMEA_Output/AP_NMEA_Output.cpp

@ -95,9 +95,9 @@ void AP_NMEA_Output::update()
auto &ahrs = AP::ahrs(); auto &ahrs = AP::ahrs();
// get location (note: get_position from AHRS always returns true after having GPS position once) // get location (note: get_location from AHRS always returns true after having GPS position once)
Location loc; Location loc;
bool pos_valid = ahrs.get_position(loc); bool pos_valid = ahrs.get_location(loc);
// format latitude // format latitude
char lat_string[13]; char lat_string[13];

Loading…
Cancel
Save