mirror of
https://github.com/eclipse/upm.git
synced 2025-07-09 13:21:22 +03:00
nmea_gps: Added str method for coordinate struct
Provide a method to print out a coordinate structure which can be dropped into online mapping pages. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -79,6 +79,11 @@ namespace upm {
|
||||
double latitude = 0.0;
|
||||
/** Longitude in decimal degrees */
|
||||
double longitude = 0.0;
|
||||
/**
|
||||
* Provide a string representation of this structure.
|
||||
* @return String representing coordinates
|
||||
*/
|
||||
std::string __str__();
|
||||
};
|
||||
|
||||
/** Satellite structure definition */
|
||||
|
Reference in New Issue
Block a user