Main MRPT website
>
C++ reference for MRPT 1.9.9
xSens_MT4
xstypes
include
xsens
xsrawgpssol.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
#ifndef XSRAWGPSSOL_H
10
#define XSRAWGPSSOL_H
11
12
#include "
pstdint.h
"
13
14
#ifdef _MSC_VER
15
#pragma pack(push, 1)
16
#endif
17
18
#ifndef __cplusplus
19
#define XSRAWGPSSOL_INITIALIZER \
20
{ \
21
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 \
22
}
23
#endif
24
25
/*! \brief A container for NAV-SOL data
26
*/
27
struct
XsRawGpsSol
28
{
29
/** Gps time of week (ms) */
30
uint32_t
m_itow
;
31
/** Nanoseconds remainder of rounded ms above, range -500000 .. 500000 */
32
int32_t
m_frac
;
33
/** GPS week (GPS time) */
34
int16_t
m_week
;
35
uint8_t
m_gpsfix
;
/*!< GPSfix Type, range 0..4
36
0x00 = No Fix
37
0x01 = Dead Reckoning only
38
0x02 = 2D-Fix
39
0x03 = 3D-Fix
40
0x04 = GPS + dead reckoning combined
41
0x05..0xff: reserved
42
*/
43
uint8_t
m_flags
;
/*!< 0x01=GPSfixOK (i.e. within DOP & ACC Masks)
44
0x02=DiffSoln (is DGPS used)
45
0x04=WKNSET (is Week Number valid)
46
0x08=TOWSET (is Time of Week valid)
47
0x?0=reserved
48
*/
49
/** ECEF X position (cm) */
50
int32_t
m_ecef_x
;
51
/** ECEF Y position (cm) */
52
int32_t
m_ecef_y
;
53
/** ECEF Z position (cm) */
54
int32_t
m_ecef_z
;
55
/** Position Accuracy Estimate (cm) */
56
uint32_t
m_pacc
;
57
/** ECEF X velocity (cm/s) */
58
int32_t
m_ecef_vx
;
59
/** ECEF Y velocity (cm/s) */
60
int32_t
m_ecef_vy
;
61
/** ECEF Z velocity (cm/s) */
62
int32_t
m_ecef_vz
;
63
/** Speed Accuracy Estimate (cm/s) */
64
uint32_t
m_sacc
;
65
/** Position DOP */
66
uint16_t
m_pdop
;
67
/** Reserved */
68
uint8_t
m_res1
;
69
/** Number of SVs used in Nav Solution */
70
uint8_t
m_numsv
;
71
/** Reserved */
72
uint32_t
m_res2
;
73
};
74
typedef
struct
XsRawGpsSol
XsRawGpsSol
;
75
76
#ifdef _MSC_VER
77
#pragma pack(pop)
78
#endif
79
80
#endif // file guard
XsRawGpsSol::m_pdop
uint16_t m_pdop
Position DOP.
Definition:
xsrawgpssol.h:66
XsRawGpsSol::m_sacc
uint32_t m_sacc
Speed Accuracy Estimate (cm/s)
Definition:
xsrawgpssol.h:64
XsRawGpsSol::m_ecef_vy
int32_t m_ecef_vy
ECEF Y velocity (cm/s)
Definition:
xsrawgpssol.h:60
XsRawGpsSol::m_ecef_x
int32_t m_ecef_x
ECEF X position (cm)
Definition:
xsrawgpssol.h:50
uint16_t
unsigned __int16 uint16_t
Definition:
rptypes.h:44
XsRawGpsSol::m_ecef_y
int32_t m_ecef_y
ECEF Y position (cm)
Definition:
xsrawgpssol.h:52
XsRawGpsSol::m_res1
uint8_t m_res1
Reserved.
Definition:
xsrawgpssol.h:68
XsRawGpsSol::m_week
int16_t m_week
GPS week (GPS time)
Definition:
xsrawgpssol.h:34
XsRawGpsSol::m_itow
uint32_t m_itow
Gps time of week (ms)
Definition:
xsrawgpssol.h:30
uint8_t
unsigned char uint8_t
Definition:
rptypes.h:41
XsRawGpsSol::m_numsv
uint8_t m_numsv
Number of SVs used in Nav Solution.
Definition:
xsrawgpssol.h:70
XsRawGpsSol::m_ecef_vx
int32_t m_ecef_vx
ECEF X velocity (cm/s)
Definition:
xsrawgpssol.h:58
XsRawGpsSol::m_ecef_vz
int32_t m_ecef_vz
ECEF Z velocity (cm/s)
Definition:
xsrawgpssol.h:62
XsRawGpsSol::m_frac
int32_t m_frac
Nanoseconds remainder of rounded ms above, range -500000 .
Definition:
xsrawgpssol.h:32
XsRawGpsSol::m_pacc
uint32_t m_pacc
Position Accuracy Estimate (cm)
Definition:
xsrawgpssol.h:56
int16_t
__int16 int16_t
Definition:
rptypes.h:43
XsRawGpsSol::m_ecef_z
int32_t m_ecef_z
ECEF Z position (cm)
Definition:
xsrawgpssol.h:54
XsRawGpsSol::m_gpsfix
uint8_t m_gpsfix
Definition:
xsrawgpssol.h:35
int32_t
__int32 int32_t
Definition:
rptypes.h:46
pstdint.h
XsRawGpsSol::m_flags
uint8_t m_flags
Definition:
xsrawgpssol.h:43
XsRawGpsSol::m_res2
uint32_t m_res2
Reserved.
Definition:
xsrawgpssol.h:72
uint32_t
unsigned __int32 uint32_t
Definition:
rptypes.h:47
XsRawGpsSol
A container for NAV-SOL data.
Definition:
xsrawgpssol.h:27
Page generated by
Doxygen 1.8.17
for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST