GNSSInfoMessage Struct
Information about the GNSS data used in the PoseMessage with the corresponding timestamp (MessageType::GNSS_INFO, version 1.1). More...
Declaration
Included Headers
Base struct
| struct | MessagePayload |
|
The base class for all message payloads. More... | |
Public Member Attributes Index
| uint16_t | baseline_distance = INVALID_DISTANCE |
|
The distance between the device and the GNSS corrections base station. More... | |
| uint16_t | corrections_age = INVALID_AGE |
|
The age of the most recently received GNSS corrections data (in 0.1 seconds). More... | |
| float | gdop = NAN |
|
The geometric dilution of precision (GDOP). More... | |
| Timestamp | gps_time |
|
The GPS time of the message, if available, referenced to 1980/1/6. More... | |
| float | gps_time_std_sec = NAN |
|
GPS time alignment standard deviation (in seconds). More... | |
| float | hdop = NAN |
|
The horizontal dilution of precision (HDOP). More... | |
| uint8_t | leap_second = INVALID_LEAP_SECOND |
|
The current UTC leap second (offset between UTC and GPS time), if known. More... | |
| uint8_t | num_svs = 0 |
|
The number of satellites used in the current position solution. More... | |
| Timestamp | p1_time |
|
The time of the message, in P1 time (beginning at power-on). More... | |
| float | pdop = NAN |
|
The position dilution of precision (PDOP). More... | |
| uint32_t | reference_station_id = INVALID_REFERENCE_STATION |
|
The ID of the GNSS corrections base station, if used. More... | |
| float | vdop = NAN |
|
The vertical dilution of precision (VDOP). More... | |
Public Static Attributes Index
| static constexpr uint16_t | INVALID_AGE = 0xFFFF |
| static constexpr uint16_t | INVALID_DISTANCE = 0xFFFF |
| static constexpr uint8_t | INVALID_LEAP_SECOND = 0xFF |
| static constexpr uint32_t | INVALID_REFERENCE_STATION = 0xFFFFFFFF |
| static constexpr MessageType | MESSAGE_TYPE = MessageType::GNSS_INFO |
| static constexpr uint8_t | MESSAGE_VERSION = 1 |
Description
Information about the GNSS data used in the PoseMessage with the corresponding timestamp (MessageType::GNSS_INFO, version 1.1).
The deprecated last_differential_time field was removed in version 1.1 of this message, and was replaced by the new leap_second, num_svs, corrections_age, and baseline_distance fields. Attempting to use those fields on version 0 messages will result in undefined behavior.
Definition at line 223 of file solution.h.
Public Member Attributes
baseline_distance
|
The distance between the device and the GNSS corrections base station.
Stored in units of 10 meters: baseline_distance_m = baseline_distance * 10. Set to 0xFFFF if invalid.
Added in message version 1.
Definition at line 266 of file solution.h.
corrections_age
|
The age of the most recently received GNSS corrections data (in 0.1 seconds).
Set to 0xFFFF if invalid.
Added in message version 1.
Definition at line 257 of file solution.h.
gdop
|
The geometric dilution of precision (GDOP).
Definition at line 275 of file solution.h.
gps_time
|
The GPS time of the message, if available, referenced to 1980/1/6.
Definition at line 236 of file solution.h.
gps_time_std_sec
|
GPS time alignment standard deviation (in seconds).
Definition at line 284 of file solution.h.
hdop
|
The horizontal dilution of precision (HDOP).
Definition at line 279 of file solution.h.
leap_second
|
The current UTC leap second (offset between UTC and GPS time), if known.
Set to 0xFF if invalid.
Added in message version 1.
Definition at line 244 of file solution.h.
num_svs
|
The number of satellites used in the current position solution.
Definition at line 247 of file solution.h.
p1_time
|
The time of the message, in P1 time (beginning at power-on).
Definition at line 233 of file solution.h.
pdop
|
The position dilution of precision (PDOP).
Definition at line 277 of file solution.h.
reference_station_id
|
The ID of the GNSS corrections base station, if used.
Set to 0xFFFFFFFF if invalid.
Definition at line 272 of file solution.h.
vdop
|
The vertical dilution of precision (VDOP).
Definition at line 281 of file solution.h.
Public Static Attributes
INVALID_AGE
| constexpr static |
Definition at line 228 of file solution.h.
INVALID_DISTANCE
| constexpr static |
Definition at line 229 of file solution.h.
INVALID_LEAP_SECOND
| constexpr static |
Definition at line 227 of file solution.h.
INVALID_REFERENCE_STATION
| constexpr static |
Definition at line 230 of file solution.h.
MESSAGE_TYPE
| constexpr static |
Definition at line 224 of file solution.h.
MESSAGE_VERSION
| constexpr static |
Definition at line 225 of file solution.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.