Main MRPT website > C++ reference for MRPT 1.9.9
xsgpspvtdata.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 XSGPSPVTDATA_H
10 #define XSGPSPVTDATA_H
11 
12 #include "xstypesconfig.h"
13 #include "pstdint.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #else
18 #define XSGPSPVTDATA_INITIALIZER \
19  { \
20  0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255 \
21  }
22 #endif
23 
24 struct XsGpsPvtData;
25 
27 XSTYPES_DLL_API int XsGpsPvtData_empty(const struct XsGpsPvtData* thisPtr);
28 
29 #ifdef __cplusplus
30 } // extern "C"
31 #endif
32 
33 /*! \brief Data from the GPS unit of a legacy MTi-G.*/
35 {
36  /** The pressure measurement in units of 2 Pascal, only valid if
37  * m_pressureAge is not 255 */
39  /** The age of the pressure measurement in packets. When it decreases
40  * relative to the previous packet, it indicates that new data is available.
41  */
43  /** Integer time of week in ms */
45  /** Latitude in 1e-7 degrees */
47  /** Longitude in 1e-7 degrees */
49  /** Height in mm */
51  /** Velocity towards north in cm/s */
53  /** Velocity towards east in cm/s */
55  /** Velocity towards down in cm/s */
57  /** Horizontal accuracy estimate, expected error standard deviation in mm */
59  /** Vertical accuracy estimate, expected error standard deviation in mm */
61  /** Speed accuracy estimate, expected error standard deviation in cm/s */
63  /** The age of the GPS measurement in packets. When it decreases relative to
64  * the previous packet, it indicates that new data is available. */
66 
67 #ifdef __cplusplus
68  /*! \brief \copybrief XsGpsPvtData_destruct */
69  inline void clear() { XsGpsPvtData_destruct(this); }
70  /*! \brief \copybrief XsGpsPvtData_empty */
71  inline bool empty() const { return 0 != XsGpsPvtData_empty(this); }
72 #endif
73 };
74 
75 typedef struct XsGpsPvtData XsGpsPvtData;
76 
77 #endif // file guard
XsGpsPvtData::m_vacc
uint32_t m_vacc
Vertical accuracy estimate, expected error standard deviation in mm.
Definition: xsgpspvtdata.h:60
XsGpsPvtData::m_vele
int32_t m_vele
Velocity towards east in cm/s.
Definition: xsgpspvtdata.h:54
mrpt::containers::clear
void clear()
Clear the contents of this container.
Definition: ts_hash_map.h:188
XsGpsPvtData_empty
XSTYPES_DLL_API int XsGpsPvtData_empty(const struct XsGpsPvtData *thisPtr)
uint16_t
unsigned __int16 uint16_t
Definition: rptypes.h:44
XsGpsPvtData
Data from the GPS unit of a legacy MTi-G.
Definition: xsgpspvtdata.h:34
XsGpsPvtData::m_pressureAge
uint8_t m_pressureAge
The age of the pressure measurement in packets.
Definition: xsgpspvtdata.h:42
XsGpsPvtData::m_latitude
int32_t m_latitude
Latitude in 1e-7 degrees.
Definition: xsgpspvtdata.h:46
uint8_t
unsigned char uint8_t
Definition: rptypes.h:41
XsGpsPvtData::m_gpsAge
uint8_t m_gpsAge
The age of the GPS measurement in packets.
Definition: xsgpspvtdata.h:65
XsGpsPvtData::m_sacc
uint32_t m_sacc
Speed accuracy estimate, expected error standard deviation in cm/s.
Definition: xsgpspvtdata.h:62
XsGpsPvtData::m_itow
uint32_t m_itow
Integer time of week in ms.
Definition: xsgpspvtdata.h:44
XsGpsPvtData_destruct
XSTYPES_DLL_API void XsGpsPvtData_destruct(struct XsGpsPvtData *thisPtr)
XsGpsPvtData::m_veln
int32_t m_veln
Velocity towards north in cm/s.
Definition: xsgpspvtdata.h:52
XsGpsPvtData::m_height
int32_t m_height
Height in mm.
Definition: xsgpspvtdata.h:50
xstypesconfig.h
XsGpsPvtData::m_pressure
uint16_t m_pressure
The pressure measurement in units of 2 Pascal, only valid if m_pressureAge is not 255.
Definition: xsgpspvtdata.h:38
int32_t
__int32 int32_t
Definition: rptypes.h:46
pstdint.h
XsGpsPvtData::m_longitude
int32_t m_longitude
Longitude in 1e-7 degrees.
Definition: xsgpspvtdata.h:48
XSTYPES_DLL_API
#define XSTYPES_DLL_API
Definition: xstypesconfig.h:9
empty
EIGEN_STRONG_INLINE bool empty() const
Definition: eigen_plugins.h:601
XsGpsPvtData::m_hacc
uint32_t m_hacc
Horizontal accuracy estimate, expected error standard deviation in mm.
Definition: xsgpspvtdata.h:58
XsGpsPvtData::m_veld
int32_t m_veld
Velocity towards down in cm/s.
Definition: xsgpspvtdata.h:56
uint32_t
unsigned __int32 uint32_t
Definition: rptypes.h:47



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