Main MRPT website > C++ reference for MRPT 1.9.9
xsrawgpstimeutc.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 XSRAWGPSTIMEUTC_H
10 #define XSRAWGPSTIMEUTC_H
11 
12 #include "pstdint.h"
13 
14 #ifdef _MSC_VER
15 #pragma pack(push, 1)
16 #endif
17 
18 #ifndef __cplusplus
19 #define XSRAWGPSTIMEUTC_INITIALIZER \
20  { \
21  0, 0, 0, 0, 0, 0, 0, 0, 0, 0 \
22  }
23 #endif
24 
25 /*! \brief A container for NAV-TIMEUTC data
26 */
28 {
29  /** Gps time of week (ms) */
31  /** Time Accuracy Estimate (ns) */
33  /** Nanoseconds of second, range -500000000 .. 500000000 (UTC) */
35  /** Year, range 1999..2099 (UTC) */
37  /** Month, range 1..12 (UTC) */
39  /** Day of Month, range 1..31 (UTC) */
41  /** Hour of Day, range 0..23 (UTC) */
43  /** Minute of Hour, range 0..59 (UTC) */
45  /** Minute of Hour, range 0..59 (UTC) */
47  uint8_t m_valid; /*!< Valid 0x01 = Valid Time of Week
48  0x02 = Valid Week Number
49  0x04 = Valid UTC (Leap Seconds already known?)
50  */
51 };
53 
54 #ifdef _MSC_VER
55 #pragma pack(pop)
56 #endif
57 
58 #endif // file guard
XsRawGpsTimeUtc::m_valid
uint8_t m_valid
Definition: xsrawgpstimeutc.h:47
XsRawGpsTimeUtc
A container for NAV-TIMEUTC data.
Definition: xsrawgpstimeutc.h:27
uint16_t
unsigned __int16 uint16_t
Definition: rptypes.h:44
XsRawGpsTimeUtc::m_hour
uint8_t m_hour
Hour of Day, range 0..23 (UTC)
Definition: xsrawgpstimeutc.h:42
XsRawGpsTimeUtc::m_month
uint8_t m_month
Month, range 1..12 (UTC)
Definition: xsrawgpstimeutc.h:38
uint8_t
unsigned char uint8_t
Definition: rptypes.h:41
XsRawGpsTimeUtc::m_tacc
uint32_t m_tacc
Time Accuracy Estimate (ns)
Definition: xsrawgpstimeutc.h:32
XsRawGpsTimeUtc::m_sec
uint8_t m_sec
Minute of Hour, range 0..59 (UTC)
Definition: xsrawgpstimeutc.h:46
XsRawGpsTimeUtc::m_year
uint16_t m_year
Year, range 1999..2099 (UTC)
Definition: xsrawgpstimeutc.h:36
XsRawGpsTimeUtc::m_nano
int32_t m_nano
Nanoseconds of second, range -500000000 .
Definition: xsrawgpstimeutc.h:34
XsRawGpsTimeUtc::m_itow
uint32_t m_itow
Gps time of week (ms)
Definition: xsrawgpstimeutc.h:30
XsRawGpsTimeUtc::m_day
uint8_t m_day
Day of Month, range 1..31 (UTC)
Definition: xsrawgpstimeutc.h:40
int32_t
__int32 int32_t
Definition: rptypes.h:46
pstdint.h
XsRawGpsTimeUtc::m_min
uint8_t m_min
Minute of Hour, range 0..59 (UTC)
Definition: xsrawgpstimeutc.h:44
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