75 template <
class TGEODETICCOORDS>
78 return TGEODETICCOORDS(
86 template <
class TGEODETICCOORDS>
89 return TGEODETICCOORDS(
96 template <
class TGEODETICCOORDS>
99 return TGEODETICCOORDS(
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
#define GNSS_MESSAGE_BINARY_BLOCK(DATA_PTR, DATA_LEN)
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
gnss_message_type_t
List of all known GNSS message types.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
unsigned __int16 uint16_t
unsigned __int32 uint32_t
double latitude_degrees
The measured latitude, in degrees (North:+ , South:-)
uint8_t fix_quality
NMEA standard values: 0 = invalid, 1 = GPS fix (SPS), 2 = DGPS fix, 3 = PPS fix, 4 = Real Time Kinema...
bool thereis_HDOP
This states whether to take into account the value in the HDOP field.
double orthometric_altitude
The measured orthometric altitude, in meters (A)+(B).
uint32_t satellitesUsed
The number of satelites used to compute this estimation.
double corrected_orthometric_altitude
The corrected (only for TopCon mmGPS) orthometric altitude, in meters mmGPS(A+B).
float HDOP
The HDOP (Horizontal Dilution of Precision) as returned by the sensor.
double altitude_meters
The measured altitude, in meters (A).
double longitude_degrees
The measured longitude, in degrees (East:+ , West:-)
UTC_time UTCTime
The GPS sensor measured timestamp (in UTC time)
double geoidal_distance
Undulation: Difference between the measured altitude and the geoid, in meters (B).
TGEODETICCOORDS getOrthoAsStruct() const
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against...
TGEODETICCOORDS getAsStruct() const
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against...
bool getAllFieldValues(std::ostream &o) const override
Dumps a line with the sequence of all field values (without a line feed at the end).
bool getAllFieldDescriptions(std::ostream &o) const override
Dumps a header for getAllFieldValues()
void dumpToStream(mrpt::utils::CStream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
content_t fields
Message content, accesible by individual fields.
TGEODETICCOORDS getCorrectedOrthoAsStruct() const
Return the corrected geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linki...
double latitude_degrees
The measured latitude, in degrees (North:+ , South:-)
double longitude_degrees
The measured longitude, in degrees (East:+ , West:-)
int8_t validity_char
This will be: 'A'=OK or 'V'=void.
UTC_time UTCTime
The GPS sensor measured timestamp (in UTC time)
void dumpToStream(mrpt::utils::CStream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
bool getAllFieldValues(std::ostream &o) const override
Dumps a line with the sequence of all field values (without a line feed at the end).
bool getAllFieldDescriptions(std::ostream &o) const override
Dumps a header for getAllFieldValues()
content_t fields
Message content, accesible by individual fields.
double direction_degrees
Measured speed direction (in degrees)
int8_t validity_char
This will be: 'A'=OK or 'V'=void.
uint8_t date_day
Date: day (1-31), month (1-12), two-digits year (00-99)
double magnetic_dir
Magnetic variation direction (East:+, West:-)
char positioning_mode
'A': Autonomous, 'D': Differential, 'N': Not valid, 'E': Estimated, 'M': Manual
double latitude_degrees
The measured latitude, in degrees (North:+ , South:-)
double speed_knots
Measured speed (in knots)
double longitude_degrees
The measured longitude, in degrees (East:+ , West:-)
UTC_time UTCTime
The GPS sensor measured timestamp (in UTC time)
content_t fields
Message content, accesible by individual fields.
mrpt::system::TTimeStamp getDateAsTimestamp() const
Build an MRPT timestamp with the year/month/day of this observation.
bool getAllFieldDescriptions(std::ostream &o) const override
Dumps a header for getAllFieldValues()
bool getAllFieldValues(std::ostream &o) const override
Dumps a line with the sequence of all field values (without a line feed at the end).
void dumpToStream(mrpt::utils::CStream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
double true_track
Degrees.
double ground_speed_knots
bool getAllFieldValues(std::ostream &o) const override
Dumps a line with the sequence of all field values (without a line feed at the end).
void dumpToStream(mrpt::utils::CStream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
bool getAllFieldDescriptions(std::ostream &o) const override
Dumps a header for getAllFieldValues()
content_t fields
Message content, accesible by individual fields.
UTC_time UTCTime
The GPS sensor measured timestamp (in UTC time)
uint16_t date_year
2000-...
mrpt::system::TTimeStamp getDateAsTimestamp() const
Build an MRPT timestamp with the year/month/day of this observation.
bool getAllFieldValues(std::ostream &o) const override
Dumps a line with the sequence of all field values (without a line feed at the end).
content_t fields
Message content, accesible by individual fields.
void dumpToStream(mrpt::utils::CStream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
mrpt::system::TTimeStamp getDateTimeAsTimestamp() const
Build an MRPT UTC timestamp with the year/month/day + hour/minute/sec of this observation.
bool getAllFieldDescriptions(std::ostream &o) const override
Dumps a header for getAllFieldValues()
UTC (Coordinated Universal Time) time-stamp structure for GPS messages.
Pure virtual base for all message types.