source: pacpusframework/branches/2.0-beta1/include/Pacpus/structure/structure_dataset.h@ 89

Last change on this file since 89 was 89, checked in by morasjul, 11 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

  • Property svn:executable set to *
File size: 5.2 KB
Line 
1#ifndef STRUCTURE_DATASET_H
2#define STRUCTURE_DATASET_H
3
4#define MAX_NB_SAT 12
5
6/// Contains data related to the satellite (coordinates in ENU), measurements from it, and the corrections to apply
7struct structSatENUMeasCorr
8{
9 /// satellite ID
10 uint32_t satId;
11
12 /// position of the satellite along the East oriented axis (m)
13 double satPosEast;
14
15 /// position of the satellite along the North oriented axis (m)
16 double satPosNorth;
17
18 /// position of the satellite along the Up oriented axis (m)
19 double satPosUp;
20
21 /// velocity of the satellite along the East oriented axis (m)
22 double satVelEast;
23
24 /// velocity of the satellite along the North oriented axis (m)
25 double satVelNorth;
26
27 /// velocity of the satellite along the Up oriented axis (m)
28 double satVelUp;
29
30 /// measured pseudorange on L1 frequency(m)
31 double C1;
32
33 /// measured doppler on L1 frequency
34 double D1;
35
36 /// phase measurement on L1 frequency
37 double L1;
38
39 /// signal noise ratio of the signal on L1 frequency
40 double S1;
41
42 /// extrpolated pseudorange on L2 frequency(m)
43 double C2;
44
45 /// measured doppler on L2 frequency
46 double D2;
47
48 /// phase measurement on L2 frequency
49 double L2;
50
51 /// signal noise ratio of the signal on L2 frequency
52 double S2;
53
54 /// satellite clock correction from the broadcasted GPS data plus relative effect (m)
55 double satClockOffsetAndRelative;
56
57 /// satellite clock correction from the broadcasted GPS data plus relative effect (m)
58 double satClockDrift;
59
60 /// Ionospheric correction from the broadcasted GPS data
61 double ionoCorr;
62
63 /// Tropospheric correction from the standard RTCA
64 double tropoCorr;
65};
66
67/// TODO: doc
68struct structEpochDataENU
69{
70 structSatENUMeasCorr data[MAX_NB_SAT];
71
72 /// Number of satellites
73 uint32_t nbSat;
74
75 /// seconds of the week
76 double secondsOfWeek;
77
78 /// week number
79 int32_t weekNumber;
80
81 /// latitude of the center of the ENU referential (deg)
82 double ENURefCenterLat;
83
84 /// longitude of the center of the ENU referential (deg)
85 double ENURefCenterLong;
86
87 /// Ellispoidal Height of the center of the ENU referential (m)
88 double ENURefCenterElH;
89};
90
91struct structEpochGPSsolENU
92{
93 /// seconds of the week
94 double secondsOfWeek;
95
96 /// week number
97 int32_t weekNumber;
98
99 /// latitude of the center of the ENU referential (deg)
100 double ENURefCenterLat;
101
102 /// longitude of the center of the ENU referential (deg)
103 double ENURefCenterLong;
104
105 /// Ellispoidal Height of the center of the ENU referential (m)
106 double ENURefCenterElH;
107
108 double ENUsolX;
109
110 double ENUsolY;
111
112 double ENUsolZ;
113};
114
115/// contains data related to the satellite (coordinates in ENU), measurements from it, and the corrections to apply
116struct structSatECEFMeasCorr
117{
118 /// satellite ID
119 uint32_t satId;
120
121 /// position of the satellite along the X axis (m)
122 double satPosX;
123
124 /// position of the satellite along the Y axis (m)
125 double satPosY;
126
127 /// position of the satellite along the Z axis (m)
128 double satPosZ;
129
130 /// velocity of the satellite along the X axis (m)
131 double satVelX;
132
133 /// velocity of the satellite along the Y axis (m)
134 double satVelY;
135
136 /// velocity of the satellite along the Z axis (m)
137 double satVelZ;
138
139 /// measured pseudorange on L1 frequency(m)
140 double C1;
141
142 /// measured doppler on L1 frequency
143 double D1;
144
145 /// phase measurement on L1 frequency
146 double L1;
147
148 /// signal noise ratio of the signal on L1 frequency
149 double S1;
150
151 /// extrpolated pseudorange on L2 frequency(m)
152 double C2;
153
154 /// measured doppler on L2 frequency
155 double D2;
156
157 /// phase measurement on L2 frequency
158 double L2;
159
160 /// signal noise ratio of the signal on L2 frequency
161 double S2;
162
163 /// satellite clock correction from the broadcasted GPS data plus relative effect (m)
164 double satClockOffsetAndRelative;
165
166 /// satellite clock correction from the broadcasted GPS data plus relative effect (m)
167 double satClockDrift;
168
169 /// Ionospheric correction from the broadcasted GPS data
170 double ionoCorr;
171
172 /// Tropospheric correction from the standard RTCA
173 double tropoCorr;
174};
175
176struct structEpochDataECEF
177{
178 structSatECEFMeasCorr data[MAX_NB_SAT];
179
180 /// Number of satellites
181 uint32_t nbSat;
182
183 /// seconds of the week
184 double secondsOfWeek;
185
186 /// week number
187 int32_t weekNumber;
188};
189
190struct structSatSBASCorr
191{
192 /// satellite ID
193 uint32_t satId;
194
195 /// Fast Correction (m)
196 double fastCorr;
197
198 /// Slow Correction X ECEF(m)
199 double slowCorrX;
200
201 /// Slow Correction Y ECEF(m)
202 double slowCorrY;
203
204 /// Slow Correction Z ECEF(m)
205 double slowCorrZ;
206
207 /// Slow Correction for the satellite clock offset (s)
208 double slowCorrdtime;
209
210 /// Ionospheric correction (m)
211 double ionoCorr;
212
213 /// set if the corrections where applied or not
214 bool corrApplied;
215};
216
217struct structEpochDataSBAS
218{
219 structSatSBASCorr data[MAX_NB_SAT];
220
221 /// Number of satellites
222 uint32_t nbSat;
223
224 /// seconds of the week
225 double secondsOfWeek;
226
227 /// week number
228 int32_t weekNumber;
229};
230
231#endif // STRUCTURE_DATASET_H
Note: See TracBrowser for help on using the repository browser.