Go to the documentation of this file.
65 #ifndef XSRAWGNSSPVTDATA_H
66 #define XSRAWGNSSPVTDATA_H
72 #elif defined (__ICCARM__)
73 _Pragma(
"pack(push, 1)")
76 #define XSRAWGNSSPVTDATA_INITIALIZER { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
82 #define GNSS_PVT_VALID_DATE(x) (0x01 & x) // UTC date is valid
83 #define GNSS_PVT_VALID_TIME(x) (0x02 & x) // UTC time of day is valid
84 #define GNSS_PVT_VALID_RESOLVE(x) (0x04 & x) // UTC time of day has been fully resolved
87 #define GNSS_PVT_FLAGS_GNSS_FIX(x) ((0x03 << 0) & x)
88 #define GNSS_PVT_FLAGS_POWER_SAVE_MODE_STATE(x) ((0x07 << 2) & x)
89 #define GNSS_PVT_FLAGS_HEADING_VEHICLE_VALID(x) ((0x01 << 5) & x)
90 #define GNSS_PVT_FLAGS_CARRIER_SOLUTION(x) ((0x03 << 6) & x)
92 #define GNSS_PVT_FLAGS_GNSS_FIX_NONE (0x00)
93 #define GNSS_PVT_FLAGS_GNSS_FIX_SINGLE (0x01)
94 #define GNSS_PVT_FLAGS_GNSS_FIX_DIFFERENTIAL (0x03)
96 #define GNSS_PVT_FLAGS_CARRIER_SOLUTION_NONE (0x00 << 6)
97 #define GNSS_PVT_FLAGS_CARRIER_SOLUTION_FLOATING (0x01 << 6)
98 #define GNSS_PVT_FLAGS_CARRIER_SOLUTION_FIXED (0x02 << 6)
101 #define GNSS_ACCURACY_DEFAULT_DEVIATION (10000000)
209 #elif defined (__ICCARM__)
int32_t m_velE
NED east velocity (mm/s)
int32_t m_gSpeed
2D Ground Speed (mm/s)
uint32_t m_tAcc
Time accuracy estimate (ns) (UTC)
uint16_t m_hdop
Horizontal DOP (scaling 0.01)
int32_t m_headMot
2D Heading of motion (deg) (scaling 1e-5)
uint8_t m_sec
Seconds of minute 0..60 (UTC)
uint8_t m_min
Minute of hour 0..59 (UTC)
int32_t m_lat
Latitude (deg) (scaling 1e-7)
@ XPDQI_DeadReckiningOnly
A container for GNSS Position Velocity and Time data.
XsPvtDataQualityIndicator
Defines the quality indicator flags of the GNSS Fix type.
uint16_t m_gdop
Geometric DOP (scaling 0.01)
uint16_t m_pdop
Position DOP (scaling 0.01)
int32_t m_velD
NED down velocity (mm/s)
uint16_t m_vdop
Vertical DOP (scaling 0.01)
XsPvtDataUtcFlags
Define the validity flags for the UTC time.
bool operator==(const XsFilterProfile &lhs, const XsFilterProfile &rhs)
Returns true if lhs has the same type as rhs.
uint32_t m_headAcc
Heading accuracy estimate (both motion and vehicle) (deg) (scaling 1-e5)
int32_t m_hMsl
Height above mean sea level (mm)
uint16_t m_year
Year (UTC)
uint32_t m_itow
GNSS time of week (ms)
uint8_t m_numSv
Number of satellites used in Nav Solution.
uint8_t m_res1
Reserved for future use (1)
uint32_t m_vAcc
Vertical accuracy estimate (mm)
uint16_t m_edop
Easting DOP (scaling 0.01)
int32_t m_headVeh
2D Heading of vehicle (deg) (scaling 1e-5)
uint8_t m_hour
Hour of day 0..23 (UTC)
int32_t m_lon
Longitude (deg) (scaling 1e-7)
uint8_t m_day
Day of Month (UTC)
uint16_t m_tdop
Time DOP (scaling 0.01)
int32_t m_height
Height above ellipsoid (mm)
uint32_t m_sAcc
Speed accuracy estimate (mm/s)
int32_t m_velN
NED north velocity (mm/s)
uint32_t m_hAcc
Horizontal accuracy estimate (mm)
uint8_t m_month
Month (UTC)
int32_t m_nano
Fraction of second (ns) -1e9..1e9 (UTC)
uint16_t m_ndop
Northing DOP (scaling 0.01)