Main MRPT website > C++ reference for MRPT 1.9.9
xsrawgpssvinfo.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 XSRAWGPSSVINFO_H
10 #define XSRAWGPSSVINFO_H
11 
12 #include "pstdint.h"
13 
14 #ifdef _MSC_VER
15 #pragma pack(push, 1)
16 #endif
17 
18 #ifndef __cplusplus
19 #define XSSVINFO_INITIALIZER \
20  { \
21  0, 0, 0, 0, 0, 0, 0, 0 \
22  }
23 #define XSRAWGPSSVINFO_INITIALIZER \
24  {0, \
25  XSSVINFO_INITIALIZER, \
26  XSSVINFO_INITIALIZER, \
27  XSSVINFO_INITIALIZER, \
28  XSSVINFO_INITIALIZER, \
29  XSSVINFO_INITIALIZER, \
30  XSSVINFO_INITIALIZER, \
31  XSSVINFO_INITIALIZER, \
32  XSSVINFO_INITIALIZER, \
33  XSSVINFO_INITIALIZER, \
34  XSSVINFO_INITIALIZER, \
35  XSSVINFO_INITIALIZER, \
36  XSSVINFO_INITIALIZER, \
37  XSSVINFO_INITIALIZER, \
38  XSSVINFO_INITIALIZER, \
39  XSSVINFO_INITIALIZER, \
40  XSSVINFO_INITIALIZER};
41 #endif
42 
43 //! \brief A container for information of one satellite
44 struct XsSvInfo
45 {
46  /** channel number, range 0..NCH-1 */
48  /** Satellite ID */
50  uint8_t m_flags; /*!< Bitmask, made up of the following bit values
51  0x01 = SV is used for navigation
52  0x02 = Differential correction data is available for
53  this SV
54  0x04 = Orbit information is available for this SV
55  (Ephemeris or Almanach)
56  0x08 = Orbit information is Ephemeris
57  0x10 = SV is unhealthy / shall not be used
58  0x20 = reserved
59  0x40 = reserved
60  0x80 = reserved
61  */
62  int8_t m_qi; /*!< Signal Quality indicator (range 0..7). The following list
63  shows the meaning of the different QI values:
64  0: This channel is idle
65  1, 2: Channel is searching
66  3: Signal detected but unusable
67  4: Code Lock on Signal
68  5, 6: Code and Carrier locked
69  7: Code and Carrier locked, receiving 50bps data
70  */
71  /** Carrier to Noise Ratio (Signal Strength) (dbHz) */
73  /** Elevation in integer (deg) */
75  /** Azimuth in integer (deg) */
77  /** Pseudo range residual (cm) */
79 };
80 typedef struct XsSvInfo XsSvInfo;
81 
82 /*! \brief A container for NAV-SVINFO data
83 */
85 {
86  /** Gps time of week (ms) */
88  /** Number of channels range 0..16 */
90  /** Reserved */
92  /** Reserved */
94  /** The information of all satellites, maxmimum 16 */
96 };
98 
99 #ifdef _MSC_VER
100 #pragma pack(pop)
101 #endif
102 
103 #endif // file guard
uint16_t
unsigned __int16 uint16_t
Definition: rptypes.h:44
XsSvInfo::m_chn
uint8_t m_chn
channel number, range 0..NCH-1
Definition: xsrawgpssvinfo.h:47
XsRawGpsSvInfo::m_res1
uint8_t m_res1
Reserved.
Definition: xsrawgpssvinfo.h:91
uint8_t
unsigned char uint8_t
Definition: rptypes.h:41
XsSvInfo
A container for information of one satellite.
Definition: xsrawgpssvinfo.h:44
XsSvInfo::m_flags
uint8_t m_flags
Definition: xsrawgpssvinfo.h:50
int8_t
signed char int8_t
Definition: rptypes.h:40
XsRawGpsSvInfo::m_svInfos
XsSvInfo m_svInfos[16]
The information of all satellites, maxmimum 16.
Definition: xsrawgpssvinfo.h:95
int16_t
__int16 int16_t
Definition: rptypes.h:43
XsRawGpsSvInfo::m_itow
uint32_t m_itow
Gps time of week (ms)
Definition: xsrawgpssvinfo.h:87
XsRawGpsSvInfo
A container for NAV-SVINFO data.
Definition: xsrawgpssvinfo.h:84
XsSvInfo::m_prres
int32_t m_prres
Pseudo range residual (cm)
Definition: xsrawgpssvinfo.h:78
int32_t
__int32 int32_t
Definition: rptypes.h:46
pstdint.h
XsSvInfo::m_elev
int8_t m_elev
Elevation in integer (deg)
Definition: xsrawgpssvinfo.h:74
XsSvInfo::m_svid
uint8_t m_svid
Satellite ID.
Definition: xsrawgpssvinfo.h:49
XsRawGpsSvInfo::m_nch
uint8_t m_nch
Number of channels range 0..16.
Definition: xsrawgpssvinfo.h:89
XsSvInfo::m_qi
int8_t m_qi
Definition: xsrawgpssvinfo.h:62
XsRawGpsSvInfo::m_res2
uint16_t m_res2
Reserved.
Definition: xsrawgpssvinfo.h:93
XsSvInfo::m_azim
int16_t m_azim
Azimuth in integer (deg)
Definition: xsrawgpssvinfo.h:76
XsSvInfo::m_cno
uint8_t m_cno
Carrier to Noise Ratio (Signal Strength) (dbHz)
Definition: xsrawgpssvinfo.h:72
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