Main MRPT website > C++ reference for MRPT 1.5.6
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-2017, 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 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
20 #endif
21 
22 /*! \brief A container for NAV-TIMEUTC data
23 */
25 {
26  uint32_t m_itow; //!< Gps time of week (ms)
27  uint32_t m_tacc; //!< Time Accuracy Estimate (ns)
28  int32_t m_nano; //!< Nanoseconds of second, range -500000000 .. 500000000 (UTC)
29  uint16_t m_year; //!< Year, range 1999..2099 (UTC)
30  uint8_t m_month; //!< Month, range 1..12 (UTC)
31  uint8_t m_day; //!< Day of Month, range 1..31 (UTC)
32  uint8_t m_hour; //!< Hour of Day, range 0..23 (UTC)
33  uint8_t m_min; //!< Minute of Hour, range 0..59 (UTC)
34  uint8_t m_sec; //!< Minute of Hour, range 0..59 (UTC)
35  uint8_t m_valid; /*!< Valid 0x01 = Valid Time of Week
36  0x02 = Valid Week Number
37  0x04 = Valid UTC (Leap Seconds already known?)
38  */
39 };
41 
42 #ifdef _MSC_VER
43 #pragma pack(pop)
44 #endif
45 
46 #endif // file guard
unsigned __int16 uint16_t
Definition: rptypes.h:46
uint8_t m_min
Minute of Hour, range 0..59 (UTC)
uint8_t m_month
Month, range 1..12 (UTC)
A container for NAV-TIMEUTC data.
uint16_t m_year
Year, range 1999..2099 (UTC)
unsigned char uint8_t
Definition: rptypes.h:43
uint32_t m_tacc
Time Accuracy Estimate (ns)
uint32_t m_itow
Gps time of week (ms)
__int32 int32_t
Definition: rptypes.h:48
uint8_t m_day
Day of Month, range 1..31 (UTC)
int32_t m_nano
Nanoseconds of second, range -500000000 .. 500000000 (UTC)
uint8_t m_hour
Hour of Day, range 0..23 (UTC)
unsigned __int32 uint32_t
Definition: rptypes.h:49
uint8_t m_sec
Minute of Hour, range 0..59 (UTC)



Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019