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
unsigned __int16 uint16_t
Definition: rptypes.h:44
uint8_t m_nch
Number of channels range 0..16.
signed char int8_t
Definition: rptypes.h:40
int8_t m_elev
Elevation in integer (deg)
unsigned char uint8_t
Definition: rptypes.h:41
__int16 int16_t
Definition: rptypes.h:43
uint32_t m_itow
Gps time of week (ms)
uint16_t m_res2
Reserved.
int16_t m_azim
Azimuth in integer (deg)
uint8_t m_cno
Carrier to Noise Ratio (Signal Strength) (dbHz)
uint8_t m_res1
Reserved.
int32_t m_prres
Pseudo range residual (cm)
uint8_t m_chn
channel number, range 0..NCH-1
__int32 int32_t
Definition: rptypes.h:46
int8_t m_qi
A container for information of one satellite.
uint8_t m_flags
A container for NAV-SVINFO data.
unsigned __int32 uint32_t
Definition: rptypes.h:47
uint8_t m_svid
Satellite ID.
XsSvInfo m_svInfos[16]
The information of all satellites, maxmimum 16.



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