#include </home/runner/work/mars_lib/mars_lib/source/mars/include/mars/sensors/gps/gps_measurement_type.h>
◆ GpsMeasurementType()
mars::GpsMeasurementType::GpsMeasurementType |
( |
double |
latitude, |
|
|
double |
longitude, |
|
|
double |
altitude |
|
) |
| |
|
inline |
26 :
coordinates_(std::move(latitude), std::move(longitude), std::move(altitude))
27 {
28 }
GpsCoordinates coordinates_
Definition gps_measurement_type.h:23
◆ get_csv_state_header_string()
static std::string mars::GpsMeasurementType::get_csv_state_header_string |
( |
| ) |
|
|
inlinestatic |
31 {
32 std::stringstream os;
33 os << "t, ";
34 os << "lat, lon, alt";
35
36 return os.str();
37 }
◆ to_csv_string()
std::string mars::GpsMeasurementType::to_csv_string |
( |
const double & |
timestamp | ) |
const |
|
inline |
40 {
41 std::stringstream os;
42 os.precision(17);
43 os << timestamp;
44
46
47 return os.str();
48 }
double longitude_
Definition gps_conversion.h:29
double altitude_
Definition gps_conversion.h:30
double latitude_
Definition gps_conversion.h:28
◆ coordinates_
The documentation for this class was generated from the following file: