point_one::fusion_engine::messages::GNSSInfoMessage Struct Reference

Detailed Description

Information about the GNSS data used in the PoseMessage with the corresponding timestamp (MessageType::GNSS_INFO, version 1.1).

Note
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 219 of file solution.h.

Inheritance diagram for point_one::fusion_engine::messages::GNSSInfoMessage:
point_one::fusion_engine::messages::MessagePayload

#include <point_one/fusion_engine/messages/solution.h>

Public Attributes

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...
 

Static Public Attributes

static constexpr uint16_t INVALID_AGE = 0xFFFF
 
static constexpr uint16_t INVALID_DISTANCE = 0xFFFF
 
static constexpr uint16_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
 

Member Data Documentation

◆ baseline_distance

uint16_t point_one::fusion_engine::messages::GNSSInfoMessage::baseline_distance = INVALID_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 262 of file solution.h.

◆ corrections_age

uint16_t point_one::fusion_engine::messages::GNSSInfoMessage::corrections_age = INVALID_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 253 of file solution.h.

◆ gdop

float point_one::fusion_engine::messages::GNSSInfoMessage::gdop = NAN

The geometric dilution of precision (GDOP).

Definition at line 271 of file solution.h.

◆ gps_time

Timestamp point_one::fusion_engine::messages::GNSSInfoMessage::gps_time

The GPS time of the message, if available, referenced to 1980/1/6.

Definition at line 232 of file solution.h.

◆ gps_time_std_sec

float point_one::fusion_engine::messages::GNSSInfoMessage::gps_time_std_sec = NAN

GPS time alignment standard deviation (in seconds).

Definition at line 280 of file solution.h.

◆ hdop

float point_one::fusion_engine::messages::GNSSInfoMessage::hdop = NAN

The horizontal dilution of precision (HDOP).

Definition at line 275 of file solution.h.

◆ INVALID_AGE

constexpr uint16_t point_one::fusion_engine::messages::GNSSInfoMessage::INVALID_AGE = 0xFFFF
staticconstexpr

Definition at line 224 of file solution.h.

◆ INVALID_DISTANCE

constexpr uint16_t point_one::fusion_engine::messages::GNSSInfoMessage::INVALID_DISTANCE = 0xFFFF
staticconstexpr

Definition at line 225 of file solution.h.

◆ INVALID_LEAP_SECOND

constexpr uint16_t point_one::fusion_engine::messages::GNSSInfoMessage::INVALID_LEAP_SECOND = 0xFF
staticconstexpr

Definition at line 223 of file solution.h.

◆ INVALID_REFERENCE_STATION

constexpr uint32_t point_one::fusion_engine::messages::GNSSInfoMessage::INVALID_REFERENCE_STATION = 0xFFFFFFFF
staticconstexpr

Definition at line 226 of file solution.h.

◆ leap_second

uint8_t point_one::fusion_engine::messages::GNSSInfoMessage::leap_second = INVALID_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 240 of file solution.h.

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::GNSSInfoMessage::MESSAGE_TYPE = MessageType::GNSS_INFO
staticconstexpr

Definition at line 220 of file solution.h.

◆ MESSAGE_VERSION

constexpr uint8_t point_one::fusion_engine::messages::GNSSInfoMessage::MESSAGE_VERSION = 1
staticconstexpr

Definition at line 221 of file solution.h.

◆ num_svs

uint8_t point_one::fusion_engine::messages::GNSSInfoMessage::num_svs = 0

The number of satellites used in the current position solution.

Definition at line 243 of file solution.h.

◆ p1_time

Timestamp point_one::fusion_engine::messages::GNSSInfoMessage::p1_time

The time of the message, in P1 time (beginning at power-on).

Definition at line 229 of file solution.h.

◆ pdop

float point_one::fusion_engine::messages::GNSSInfoMessage::pdop = NAN

The position dilution of precision (PDOP).

Definition at line 273 of file solution.h.

◆ reference_station_id

uint32_t point_one::fusion_engine::messages::GNSSInfoMessage::reference_station_id = INVALID_REFERENCE_STATION

The ID of the GNSS corrections base station, if used.

Set to 0xFFFFFFFF if invalid.

Definition at line 268 of file solution.h.

◆ vdop

float point_one::fusion_engine::messages::GNSSInfoMessage::vdop = NAN

The vertical dilution of precision (VDOP).

Definition at line 277 of file solution.h.


The documentation for this struct was generated from the following file: