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
uint32_t m_vacc
Vertical accuracy estimate, expected error standard deviation in mm.
Definition: xsgpspvtdata.h:60
EIGEN_STRONG_INLINE bool empty() const
unsigned __int16 uint16_t
Definition: rptypes.h:44
int32_t m_vele
Velocity towards east in cm/s.
Definition: xsgpspvtdata.h:54
uint8_t m_pressureAge
The age of the pressure measurement in packets.
Definition: xsgpspvtdata.h:42
int32_t m_latitude
Latitude in 1e-7 degrees.
Definition: xsgpspvtdata.h:46
XSTYPES_DLL_API void XsGpsPvtData_destruct(struct XsGpsPvtData *thisPtr)
unsigned char uint8_t
Definition: rptypes.h:41
uint32_t m_sacc
Speed accuracy estimate, expected error standard deviation in cm/s.
Definition: xsgpspvtdata.h:62
uint8_t m_gpsAge
The age of the GPS measurement in packets.
Definition: xsgpspvtdata.h:65
uint32_t m_itow
Integer time of week in ms.
Definition: xsgpspvtdata.h:44
#define XSTYPES_DLL_API
Definition: xstypesconfig.h:9
XSTYPES_DLL_API int XsGpsPvtData_empty(const struct XsGpsPvtData *thisPtr)
int32_t m_veln
Velocity towards north in cm/s.
Definition: xsgpspvtdata.h:52
__int32 int32_t
Definition: rptypes.h:46
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 m_height
Height in mm.
Definition: xsgpspvtdata.h:50
int32_t m_longitude
Longitude in 1e-7 degrees.
Definition: xsgpspvtdata.h:48
uint32_t m_hacc
Horizontal accuracy estimate, expected error standard deviation in mm.
Definition: xsgpspvtdata.h:58
int32_t m_veld
Velocity towards down in cm/s.
Definition: xsgpspvtdata.h:56
unsigned __int32 uint32_t
Definition: rptypes.h:47
void clear()
Clear the contents of this container.
Definition: ts_hash_map.h:186
Data from the GPS unit of a legacy MTi-G.
Definition: xsgpspvtdata.h:34



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020