libsbp  v2.4.7
observation.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Swift Navigation Inc.
3  * Contact: Swift Navigation <dev@swiftnav.com>
4  *
5  * This source is subject to the license found in the file 'LICENSE' which must
6  * be be distributed together with this source. All other rights reserved.
7  *
8  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11  */
12 
13 /*****************************************************************************
14  * Automatically generated from yaml/swiftnav/sbp/observation.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
23 #ifndef LIBSBP_OBSERVATION_MESSAGES_H
24 #define LIBSBP_OBSERVATION_MESSAGES_H
25 
26 #include "common.h"
27 #include "gnss.h"
28 
29 SBP_PACK_START
30 
31 
36 typedef struct SBP_ATTR_PACKED {
43 
44 
52 typedef struct SBP_ATTR_PACKED {
53  s16 i;
54  u8 f;
55 } doppler_t;
56 
57 
68 typedef struct SBP_ATTR_PACKED {
69  u32 P;
72  u8 cn0;
73  u8 lock;
86 
87 
98 #define SBP_MSG_OBS 0x004A
99 typedef struct SBP_ATTR_PACKED {
104 } msg_obs_t;
105 
106 
115 #define SBP_MSG_BASE_POS_LLH 0x0044
116 typedef struct SBP_ATTR_PACKED {
117  double lat;
118  double lon;
119  double height;
121 
122 
132 #define SBP_MSG_BASE_POS_ECEF 0x0048
133 typedef struct SBP_ATTR_PACKED {
134  double x;
135  double y;
136  double z;
138 
139 
140 typedef struct SBP_ATTR_PACKED {
143  float ura;
152 
153 
154 typedef struct SBP_ATTR_PACKED {
157  double ura;
165 
166 
167 typedef struct SBP_ATTR_PACKED {
170  double ura;
179 
180 
189 #define SBP_MSG_EPHEMERIS_GPS_DEP_E 0x0081
190 typedef struct SBP_ATTR_PACKED {
192  double tgd;
193  double c_rs;
194  double c_rc;
195  double c_uc;
196  double c_us;
197  double c_ic;
198  double c_is;
199  double dn;
200  double m0;
201  double ecc;
202  double sqrta;
203  double omega0;
204  double omegadot;
205  double w;
206  double inc;
207  double inc_dot;
208  double af0;
209  double af1;
210  double af2;
215 
216 
222 #define SBP_MSG_EPHEMERIS_GPS_DEP_F 0x0086
223 typedef struct SBP_ATTR_PACKED {
225  double tgd;
226  double c_rs;
227  double c_rc;
228  double c_uc;
229  double c_us;
230  double c_ic;
231  double c_is;
232  double dn;
233  double m0;
234  double ecc;
235  double sqrta;
236  double omega0;
237  double omegadot;
238  double w;
239  double inc;
240  double inc_dot;
241  double af0;
242  double af1;
243  double af2;
248 
249 
258 #define SBP_MSG_EPHEMERIS_GPS 0x008A
259 typedef struct SBP_ATTR_PACKED {
261  float tgd;
262  float c_rs;
263  float c_rc;
264  float c_uc;
265  float c_us;
266  float c_ic;
267  float c_is;
268  double dn;
269  double m0;
270  double ecc;
271  double sqrta;
272  double omega0;
273  double omegadot;
274  double w;
275  double inc;
276  double inc_dot;
277  float af0;
278  float af1;
279  float af2;
284 
285 
293 #define SBP_MSG_EPHEMERIS_BDS 0x0089
294 typedef struct SBP_ATTR_PACKED {
296  float tgd1;
297  float tgd2;
298  float c_rs;
299  float c_rc;
300  float c_uc;
301  float c_us;
302  float c_ic;
303  float c_is;
304  double dn;
305  double m0;
306  double ecc;
307  double sqrta;
308  double omega0;
309  double omegadot;
310  double w;
311  double inc;
312  double inc_dot;
313  double af0;
314  float af1;
315  float af2;
320 
321 
329 #define SBP_MSG_EPHEMERIS_GAL 0x0095
330 typedef struct SBP_ATTR_PACKED {
332  float bgd_e1e5a;
333  float bgd_e1e5b;
334  float c_rs;
335  float c_rc;
336  float c_uc;
337  float c_us;
338  float c_ic;
339  float c_is;
340  double dn;
341  double m0;
342  double ecc;
343  double sqrta;
344  double omega0;
345  double omegadot;
346  double w;
347  double inc;
348  double inc_dot;
349  double af0;
350  double af1;
351  float af2;
356 
357 
358 #define SBP_MSG_EPHEMERIS_SBAS_DEP_A 0x0082
359 typedef struct SBP_ATTR_PACKED {
361  double pos[3];
362  double vel[3];
363  double acc[3];
364  double a_gf0;
365  double a_gf1;
367 
368 
377 #define SBP_MSG_EPHEMERIS_GLO_DEP_A 0x0083
378 typedef struct SBP_ATTR_PACKED {
380  double gamma;
381  double tau;
382  double pos[3];
383  double vel[3];
384  double acc[3];
386 
387 
393 #define SBP_MSG_EPHEMERIS_SBAS_DEP_B 0x0084
394 typedef struct SBP_ATTR_PACKED {
396  double pos[3];
397  double vel[3];
398  double acc[3];
399  double a_gf0;
400  double a_gf1;
402 
403 
404 #define SBP_MSG_EPHEMERIS_SBAS 0x008C
405 typedef struct SBP_ATTR_PACKED {
407  double pos[3];
408  float vel[3];
409  float acc[3];
410  float a_gf0;
411  float a_gf1;
413 
414 
423 #define SBP_MSG_EPHEMERIS_GLO_DEP_B 0x0085
424 typedef struct SBP_ATTR_PACKED {
426  double gamma;
427  double tau;
428  double pos[3];
429  double vel[3];
430  double acc[3];
432 
433 
442 #define SBP_MSG_EPHEMERIS_GLO_DEP_C 0x0087
443 typedef struct SBP_ATTR_PACKED {
445  double gamma;
446  double tau;
447  double d_tau;
448  double pos[3];
449  double vel[3];
450  double acc[3];
451  u8 fcn;
453 
454 
460 #define SBP_MSG_EPHEMERIS_GLO_DEP_D 0x0088
461 typedef struct SBP_ATTR_PACKED {
463  double gamma;
464  double tau;
465  double d_tau;
466  double pos[3];
467  double vel[3];
468  double acc[3];
469  u8 fcn;
470  u8 iod;
472 
473 
482 #define SBP_MSG_EPHEMERIS_GLO 0x008B
483 typedef struct SBP_ATTR_PACKED {
485  float gamma;
486  float tau;
487  float d_tau;
488  double pos[3];
489  double vel[3];
490  float acc[3];
491  u8 fcn;
492  u8 iod;
494 
495 
504 #define SBP_MSG_EPHEMERIS_DEP_D 0x0080
505 typedef struct SBP_ATTR_PACKED {
506  double tgd;
507  double c_rs;
508  double c_rc;
509  double c_uc;
510  double c_us;
511  double c_ic;
512  double c_is;
513  double dn;
514  double m0;
515  double ecc;
516  double sqrta;
517  double omega0;
518  double omegadot;
519  double w;
520  double inc;
521  double inc_dot;
522  double af0;
523  double af1;
524  double af2;
525  double toe_tow;
527  double toc_tow;
536 
537 
542 #define SBP_MSG_EPHEMERIS_DEP_A 0x001A
543 typedef struct SBP_ATTR_PACKED {
544  double tgd;
545  double c_rs;
546  double c_rc;
547  double c_uc;
548  double c_us;
549  double c_ic;
550  double c_is;
551  double dn;
552  double m0;
553  double ecc;
554  double sqrta;
555  double omega0;
556  double omegadot;
557  double w;
558  double inc;
559  double inc_dot;
560  double af0;
561  double af1;
562  double af2;
563  double toe_tow;
565  double toc_tow;
569  u8 prn;
571 
572 
577 #define SBP_MSG_EPHEMERIS_DEP_B 0x0046
578 typedef struct SBP_ATTR_PACKED {
579  double tgd;
580  double c_rs;
581  double c_rc;
582  double c_uc;
583  double c_us;
584  double c_ic;
585  double c_is;
586  double dn;
587  double m0;
588  double ecc;
589  double sqrta;
590  double omega0;
591  double omegadot;
592  double w;
593  double inc;
594  double inc_dot;
595  double af0;
596  double af1;
597  double af2;
598  double toe_tow;
600  double toc_tow;
604  u8 prn;
607 
608 
617 #define SBP_MSG_EPHEMERIS_DEP_C 0x0047
618 typedef struct SBP_ATTR_PACKED {
619  double tgd;
620  double c_rs;
621  double c_rc;
622  double c_uc;
623  double c_us;
624  double c_ic;
625  double c_is;
626  double dn;
627  double m0;
628  double ecc;
629  double sqrta;
630  double omega0;
631  double omegadot;
632  double w;
633  double inc;
634  double inc_dot;
635  double af0;
636  double af1;
637  double af2;
638  double toe_tow;
640  double toc_tow;
649 
650 
655 typedef struct SBP_ATTR_PACKED {
662 
663 
672 typedef struct SBP_ATTR_PACKED {
673  s32 i;
674  u8 f;
676 
677 
682 typedef struct SBP_ATTR_PACKED {
683  u32 P;
685  u8 cn0;
690  u8 prn;
692 
693 
699 typedef struct SBP_ATTR_PACKED {
700  u32 P;
702  u8 cn0;
709 
710 
717 typedef struct SBP_ATTR_PACKED {
718  u32 P;
720  u8 cn0;
727 
728 
733 #define SBP_MSG_OBS_DEP_A 0x0045
734 typedef struct SBP_ATTR_PACKED {
740 
741 
751 #define SBP_MSG_OBS_DEP_B 0x0043
752 typedef struct SBP_ATTR_PACKED {
758 
759 
770 #define SBP_MSG_OBS_DEP_C 0x0049
771 typedef struct SBP_ATTR_PACKED {
777 
778 
785 #define SBP_MSG_IONO 0x0090
786 typedef struct SBP_ATTR_PACKED {
788  double a0;
789  double a1;
790  double a2;
791  double a3;
792  double b0;
793  double b1;
794  double b2;
795  double b3;
796 } msg_iono_t;
797 
798 
803 #define SBP_MSG_SV_CONFIGURATION_GPS_DEP 0x0091
804 typedef struct SBP_ATTR_PACKED {
808 
809 
810 typedef struct SBP_ATTR_PACKED {
830 } gnss_capb_t;
831 
832 
833 #define SBP_MSG_GNSS_CAPB 0x0096
834 typedef struct SBP_ATTR_PACKED {
838 
839 
844 #define SBP_MSG_GROUP_DELAY_DEP_A 0x0092
845 typedef struct SBP_ATTR_PACKED {
847  u8 prn;
856 
857 
862 #define SBP_MSG_GROUP_DELAY_DEP_B 0x0093
863 typedef struct SBP_ATTR_PACKED {
874 
875 
880 #define SBP_MSG_GROUP_DELAY 0x0094
881 typedef struct SBP_ATTR_PACKED {
892 
893 
894 typedef struct SBP_ATTR_PACKED {
897  double ura;
917 
918 
919 typedef struct SBP_ATTR_PACKED {
922  double ura;
942 
943 
951 #define SBP_MSG_ALMANAC_GPS_DEP 0x0070
952 typedef struct SBP_ATTR_PACKED {
954  double m0;
955  double ecc;
956  double sqrta;
957  double omega0;
958  double omegadot;
959  double w;
960  double inc;
961  double af0;
962  double af1;
964 
965 
973 #define SBP_MSG_ALMANAC_GPS 0x0072
974 typedef struct SBP_ATTR_PACKED {
976  double m0;
977  double ecc;
978  double sqrta;
979  double omega0;
980  double omegadot;
981  double w;
982  double inc;
983  double af0;
984  double af1;
986 
987 
995 #define SBP_MSG_ALMANAC_GLO_DEP 0x0071
996 typedef struct SBP_ATTR_PACKED {
998  double lambda_na;
1001  double t_lambda_na;
1002  double i;
1003  double t;
1004  double t_dot;
1005  double epsilon;
1006  double omega;
1008 
1009 
1017 #define SBP_MSG_ALMANAC_GLO 0x0073
1018 typedef struct SBP_ATTR_PACKED {
1020  double lambda_na;
1023  double t_lambda_na;
1024  double i;
1025  double t;
1026  double t_dot;
1027  double epsilon;
1028  double omega;
1030 
1031 
1039 #define SBP_MSG_GLO_BIASES 0x0075
1040 typedef struct SBP_ATTR_PACKED {
1047 
1048 
1051 SBP_PACK_END
1052 
1053 #endif /* LIBSBP_OBSERVATION_MESSAGES_H */
GPS observations for a particular satellite signal.
Definition: observation.h:699
double c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:227
double c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:226
double tgd
Group delay differential between L1 and L2 [s].
Definition: observation.h:225
double a_gf1
Drift of the GEO clock w.r.t.
Definition: observation.h:400
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:348
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:628
double tgd
Group delay differential between L1 and L2 [s].
Definition: observation.h:506
double dn
Mean motion difference [rad/s].
Definition: observation.h:268
GNSS observations for a particular satellite signal.
Definition: observation.h:68
almanac_common_content_t common
Values common for all almanac types.
Definition: observation.h:975
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:313
ephemeris_common_content_t common
Values common for all ephemeris types.
Definition: observation.h:484
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:979
Millisecond-accurate GPS time.
Definition: gnss.h:65
u8 iode
Issue of ephemeris data.
Definition: observation.h:645
double c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:194
u8 prn
PRN being tracked.
Definition: observation.h:604
u64 bds_b2a
BDS B2A active mask.
Definition: observation.h:826
gps_time_sec_t t_op
Data Predict Time of Week.
Definition: observation.h:882
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:630
u8 valid
Status of almanac, 1 = valid, 0 = invalid.
Definition: observation.h:924
u32 fit_interval
Curve fit interval [s].
Definition: observation.h:923
double gamma
Relative deviation of predicted carrier frequency from nominal.
Definition: observation.h:426
double height
Height [m].
Definition: observation.h:119
u64 gps_active
GPS SV active mask.
Definition: observation.h:811
u16 iode
Issue of ephemeris data.
Definition: observation.h:353
double c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:621
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:956
u8 valid
Is valid?
Definition: observation.h:642
u64 sbas_l5
SBAS L5 active mask (PRNs 120..158, AN 7/62.2.2-18/18 Table B-23, https://www.caat.or.th/wp-content/uploads/2018/03/SL-2018.18.E-1.pdf)
Definition: observation.h:820
GNSS carrier phase measurement.
Definition: gnss.h:106
u32 P
Pseudorange observation [2 cm].
Definition: observation.h:69
u8 iod
Issue of ephemeris data.
Definition: observation.h:492
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:241
float c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:339
ephemeris_common_content_dep_b_t common
Values common for all ephemeris types.
Definition: observation.h:425
double inc
Inclination [rad].
Definition: observation.h:520
double i
Value of inclination at instant of t_lambda [rad].
Definition: observation.h:1024
u32 fit_interval
Curve fit interval [s].
Definition: observation.h:171
double dn
Mean motion difference [rad/s].
Definition: observation.h:304
u8 iode
Issue of ephemeris data.
Definition: observation.h:281
u8 flags
Measurement status flags.
Definition: observation.h:80
gps_time_sec_t toe
Time of Ephemerides.
Definition: observation.h:142
u16 toc_wn
Clock reference week number [week].
Definition: observation.h:566
float tgd
Group delay differential between L1 and L2 [s].
Definition: observation.h:261
sbp_gnss_signal_t sid
GNSS signal identifier (16 bit)
Definition: observation.h:155
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:235
double w
Argument of perigee [rad].
Definition: observation.h:346
u16 iodc
Issue of clock data.
Definition: observation.h:533
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:559
float c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:299
double c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:550
double a0
Definition: observation.h:788
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:977
float af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:279
u8 prn
PRN-1 identifier of the satellite signal.
Definition: observation.h:690
double t_dot
Rate of change of the Draconian period [s/(orbital period^2)].
Definition: observation.h:1026
double y
ECEF Y coordinate [m].
Definition: observation.h:135
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:978
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:961
observation_header_dep_t header
Header of a GPS observation message.
Definition: observation.h:753
u64 gal_active
GAL active mask.
Definition: observation.h:828
double lat
Latitude [deg].
Definition: observation.h:117
double toc_tow
Clock reference time of week [s].
Definition: observation.h:527
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:312
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:514
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:204
float af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:315
double tau
Correction to the SV time [s].
Definition: observation.h:427
double af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:243
carrier_phase_t L
Carrier phase observation with typical sign convention.
Definition: observation.h:719
double w
Argument of perigee [rad].
Definition: observation.h:557
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:516
double inc
Inclination [rad].
Definition: observation.h:593
double dn
Mean motion difference [rad/s].
Definition: observation.h:626
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:984
u8 n_obs
Total number of observations.
Definition: observation.h:657
float af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:351
ephemeris_common_content_t common
Values common for all ephemeris types.
Definition: observation.h:260
double c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:547
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:349
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:308
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:635
float gamma
Relative deviation of predicted carrier frequency from nominal.
Definition: observation.h:485
gps_time_dep_t t_op
Data Predict Time of Week.
Definition: observation.h:846
double t_lambda_na
Time of the first ascending node passage [s].
Definition: observation.h:1001
float c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:335
u8 cn0
Carrier-to-Noise density.
Definition: observation.h:72
double af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:210
double toe_tow
Time of week [s].
Definition: observation.h:525
u32 glo_l2of
GLO L2OF active mask.
Definition: observation.h:815
float tgd2
Group delay differential for B2 [s].
Definition: observation.h:297
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:343
double inc
Inclination [rad].
Definition: observation.h:633
Whole second accurate GPS time.
Definition: gnss.h:77
double inc
Inclination [rad].
Definition: observation.h:239
u16 lock
Lock indicator.
Definition: observation.h:703
double omega
Argument of perigee at instant of t_lambda [rad].
Definition: observation.h:1028
double epsilon
Eccentricity at instant of t_lambda.
Definition: observation.h:1027
u8 prn
Satellite number.
Definition: observation.h:847
u32 fit_interval
Curve fit interval [s].
Definition: observation.h:898
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:276
double af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:562
u32 glo_l3
GLO L3 active mask.
Definition: observation.h:816
double b0
Definition: observation.h:792
double c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:545
ephemeris_common_content_dep_a_t common
Values common for all ephemeris types.
Definition: observation.h:360
sbp_gnss_signal_t sid
GNSS signal identifier.
Definition: observation.h:895
u32 reserved
Reserved field.
Definition: observation.h:647
float c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:262
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:233
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:957
gnss_signal_dep_t sid
GNSS signal identifier.
Definition: observation.h:707
float c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:336
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:587
double d_tau
Equipment delay between L1 and L2 [s].
Definition: observation.h:447
double lon
Longitude [deg].
Definition: observation.h:118
u32 P
Pseudorange observation [cm].
Definition: observation.h:683
Represents all the relevant information about the signal.
Definition: gnss.h:35
u8 iode
Issue of ephemeris data.
Definition: observation.h:317
double toe_tow
Time of week [s].
Definition: observation.h:598
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:589
u8 fcn
Frequency slot.
Definition: observation.h:491
gnss_signal_dep_t sid
GNSS signal identifier.
Definition: observation.h:644
gnss_signal_dep_t sid
GNSS signal identifier.
Definition: observation.h:531
ephemeris_common_content_dep_b_t common
Values common for all ephemeris types.
Definition: observation.h:444
gps_time_sec_t toc
Clock reference.
Definition: observation.h:280
double c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:624
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:627
double ura
User Range Accuracy [m].
Definition: observation.h:922
double toc_tow
Clock reference time of week [s].
Definition: observation.h:600
u32 glo_active
GLO active mask.
Definition: observation.h:814
double tgd
Group delay differential between L1 and L2 [s].
Definition: observation.h:544
gnss_signal_dep_t sid
GNSS signal identifier.
Definition: observation.h:865
almanac_common_content_t common
Values common for all almanac types.
Definition: observation.h:1019
u8 fcn
Frequency slot.
Definition: observation.h:451
u32 P
Pseudorange observation [cm].
Definition: observation.h:700
u32 qzss_active
QZSS active mask.
Definition: observation.h:827
gps_time_sec_t toa
Reference time of almanac.
Definition: observation.h:921
double c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:193
u64 bds_d2nav
BDS D2NAV active mask.
Definition: observation.h:824
double ura
User Range Accuracy [m].
Definition: observation.h:157
s16 l2p_bias
GLONASS L2 P Code-Phase Bias [m * 0.02].
Definition: observation.h:1045
double a_gf1
Drift of the GEO clock w.r.t.
Definition: observation.h:365
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:629
u16 toe_wn
Week number [week].
Definition: observation.h:599
double b3
Definition: observation.h:795
double w
Argument of perigee [rad].
Definition: observation.h:274
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:242
u8 iod
Issue of ephemeris data.
Definition: observation.h:470
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:561
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:515
double dn
Mean motion difference [rad/s].
Definition: observation.h:340
double c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:198
ephemeris_common_content_t common
Values common for all ephemeris types.
Definition: observation.h:295
int16_t s16
Signed 16-bit integer.
Definition: common.h:34
double lambda_na
Longitude of the first ascending node of the orbit in PZ-90.02 coordinate system [rad].
Definition: observation.h:998
u8 health_bits
Satellite health status for GPS:
Definition: observation.h:900
u32 reserved
Reserved field.
Definition: observation.h:534
gps_time_sec_t toc
Clock reference.
Definition: observation.h:244
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:631
u16 lock
Lock indicator.
Definition: observation.h:686
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:955
gnss_capb_t gc
GNSS capabilities masks.
Definition: observation.h:836
double dn
Mean motion difference [rad/s].
Definition: observation.h:513
u64 bds_active
BDS active mask.
Definition: observation.h:823
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:272
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:521
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:595
Deprecated.
Definition: gnss.h:48
double c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:512
u32 fit_interval
Curve fit interval [s].
Definition: observation.h:158
gps_time_sec_t t_nmct
Navigation Message Correction Table Valitidy Time.
Definition: observation.h:787
gps_time_sec_t t_nmct
Navigation Message Correction Table Valitidy Time.
Definition: observation.h:805
double c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:546
u8 valid
Status of ephemeris, 1 = valid, 0 = invalid.
Definition: observation.h:145
float af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:314
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:202
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:350
double af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:524
u16 toe_wn
Week number [week].
Definition: observation.h:526
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:588
float c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:298
gnss_signal_dep_t sid
GNSS signal identifier.
Definition: observation.h:725
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:954
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:341
double dn
Mean motion difference [rad/s].
Definition: observation.h:586
double w
Argument of perigee [rad].
Definition: observation.h:238
double inc
Inclination [rad].
Definition: observation.h:347
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:634
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:518
u8 mask
GLONASS FDMA signals mask [boolean].
Definition: observation.h:1041
double c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:625
double c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:623
gps_time_sec_t toc
Clock reference.
Definition: observation.h:316
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
u16 toe_wn
Week number [week].
Definition: observation.h:639
u64 gps_l5
GPS L5 active mask.
Definition: observation.h:813
float af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:277
float c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:338
double toc_tow
Clock reference time of week [s].
Definition: observation.h:640
double w
Argument of perigee [rad].
Definition: observation.h:310
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:522
double c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:507
s16 l1ca_bias
GLONASS L1 C/A Code-Phase Bias [m * 0.02].
Definition: observation.h:1042
double inc
Inclination [rad].
Definition: observation.h:982
s16 i
Doppler whole Hz [Hz].
Definition: observation.h:53
float af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:278
u8 healthy
Satellite is healthy?
Definition: observation.h:568
u8 health_bits
Satellite health status.
Definition: observation.h:146
double b2
Definition: observation.h:794
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:591
sbp_gnss_signal_t sid
GNSS signal identifier.
Definition: observation.h:883
u16 toc_wn
Clock reference week number [week].
Definition: observation.h:601
double inc
Inclination [rad].
Definition: observation.h:206
float ura
User Range Accuracy [m].
Definition: observation.h:143
float tgd1
Group delay differential for B1 [s].
Definition: observation.h:296
double a1
Definition: observation.h:789
double c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:622
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:594
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:307
double c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:585
double af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:597
u64 bds_b2
BDS B2 active mask.
Definition: observation.h:825
double c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:580
double b1
Definition: observation.h:793
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:240
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:200
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:306
double a2
Definition: observation.h:790
double t
Value of Draconian period at instant of t_lambda [s/orbital period].
Definition: observation.h:1003
float bgd_e1e5a
E1-E5a Broadcast Group Delay [s].
Definition: observation.h:332
double c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:620
u16 iodc
Issue of clock data.
Definition: observation.h:282
double toe_tow
Time of week [s].
Definition: observation.h:638
gps_time_dep_t toe
Time of Ephemerides.
Definition: observation.h:169
u16 toc_wn
Clock reference week number [week].
Definition: observation.h:528
double x
ECEF X coodinate [m].
Definition: observation.h:134
double c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:584
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:237
float c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:267
double w
Argument of perigee [rad].
Definition: observation.h:592
u64 gal_e5
GAL E5 active mask.
Definition: observation.h:829
float c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:266
u8 fcn
Frequency slot.
Definition: observation.h:469
u32 l2c_mask
L2C capability mask, SV32 bit being MSB, SV1 bit being LSB.
Definition: observation.h:806
double dn
Mean motion difference [rad/s].
Definition: observation.h:199
uint64_t u64
Unsigned 64-bit integer.
Definition: common.h:46
u8 valid
Status of ephemeris, 1 = valid, 0 = invalid.
Definition: observation.h:172
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:209
float c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:303
double c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:229
u64 gps_l2c
GPS L2C active mask.
Definition: observation.h:812
double w
Argument of perigee [rad].
Definition: observation.h:959
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:596
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:201
float c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:264
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:555
u8 health_bits
Satellite health status.
Definition: observation.h:160
double w
Argument of perigee [rad].
Definition: observation.h:519
ephemeris_common_content_dep_b_t common
Values common for all ephemeris types.
Definition: observation.h:224
double gamma
Relative deviation of predicted carrier frequency from nominal.
Definition: observation.h:463
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:273
double a_gf0
Time offset of the GEO clock w.r.t.
Definition: observation.h:364
double c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:196
u8 valid
Is valid?
Definition: observation.h:567
double c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:511
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:342
double gamma
Relative deviation of predicted carrier frequency from nominal.
Definition: observation.h:445
double i
Value of inclination at instant of t_lambda [rad].
Definition: observation.h:1002
ephemeris_common_content_dep_b_t common
Values common for all ephemeris types.
Definition: observation.h:462
double c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:581
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:958
float a_gf1
Drift of the GEO clock w.r.t.
Definition: observation.h:411
float c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:300
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:42
double c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:195
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:271
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:523
carrier_phase_t L
Carrier phase observation with typical sign convention.
Definition: observation.h:70
double ura
User Range Accuracy [m].
Definition: observation.h:170
double a3
Definition: observation.h:791
double tau
Correction to the SV time [s].
Definition: observation.h:464
double w
Argument of perigee [rad].
Definition: observation.h:632
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:309
u8 cn0
Carrier-to-Noise density [dB Hz / 4].
Definition: observation.h:720
double dn
Mean motion difference [rad/s].
Definition: observation.h:551
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:270
u16 iodc
Issue of clock data.
Definition: observation.h:318
ephemeris_common_content_dep_a_t common
Values common for all ephemeris types.
Definition: observation.h:379
double c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:228
float d_tau
Equipment delay between L1 and L2 [s].
Definition: observation.h:487
double tgd
Group delay differential between L1 and L2 [s].
Definition: observation.h:192
ephemeris_common_content_dep_b_t common
Values common for all ephemeris types.
Definition: observation.h:395
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:236
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:44
s16 l1p_bias
GLONASS L1 P Code-Phase Bias [m * 0.02].
Definition: observation.h:1043
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:305
double inc
Inclination [rad].
Definition: observation.h:311
double t_lambda_na
Time of the first ascending node passage [s].
Definition: observation.h:1023
almanac_common_content_dep_t common
Values common for all almanac types.
Definition: observation.h:953
u8 iode
Issue of ephemeris data.
Definition: observation.h:605
double c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:508
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:234
gps_time_sec_t toc
Clock reference.
Definition: observation.h:352
observation_header_dep_t header
Header of a GPS observation message.
Definition: observation.h:772
double c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:548
s32 i
Carrier phase whole cycles [cycles].
Definition: observation.h:673
observation_header_t header
Header of a GPS observation message.
Definition: observation.h:100
float bgd_e1e5b
E1-E5b Broadcast Group Delay [s].
Definition: observation.h:333
double c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:197
float c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:302
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:560
double gamma
Relative deviation of predicted carrier frequency from nominal.
Definition: observation.h:380
double a_gf0
Time offset of the GEO clock w.r.t.
Definition: observation.h:399
u16 iodc
Issue of clock data.
Definition: observation.h:354
double z
ECEF Z coordinate [m].
Definition: observation.h:136
double w
Argument of perigee [rad].
Definition: observation.h:981
u8 health_bits
Satellite health status for GPS:
Definition: observation.h:925
u8 n_obs
Total number of observations.
Definition: observation.h:38
u32 P
Pseudorange observation [2 cm].
Definition: observation.h:718
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:269
double c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:230
double inc
Inclination [rad].
Definition: observation.h:275
double af2
Polynomial clock correction coefficient (rate of clock drift) [s/s^2].
Definition: observation.h:637
almanac_common_content_dep_t common
Values common for all almanac types.
Definition: observation.h:997
gps_time_dep_t toc
Clock reference.
Definition: observation.h:211
double ecc
Eccentricity of satellite orbit.
Definition: observation.h:553
gps_time_sec_t t_nmct
Navigation Message Correction Table Validity Time.
Definition: observation.h:835
u8 valid
bit-field indicating validity of the values, LSB indicating tgd validity etc.
Definition: observation.h:866
float c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:337
double w
Argument of perigee [rad].
Definition: observation.h:205
s16 l2ca_bias
GLONASS L2 C/A Code-Phase Bias [m * 0.02].
Definition: observation.h:1044
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:345
carrier_phase_dep_a_t L
Carrier phase observation with opposite sign from typical convention.
Definition: observation.h:701
double t
Value of Draconian period at instant of t_lambda [s/orbital period].
Definition: observation.h:1025
u8 valid
bit-field indicating validity of the values, LSB indicating tgd validity etc.
Definition: observation.h:848
doppler_t D
Doppler observation with typical sign convention.
Definition: observation.h:71
Nanosecond-accurate receiver clock time.
Definition: gnss.h:90
double c_ic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
Definition: observation.h:549
ephemeris_common_content_dep_a_t common
Values common for all ephemeris types.
Definition: observation.h:191
GPS observations for a particular satellite signal.
Definition: observation.h:717
Header for observation message.
Definition: observation.h:36
double inc
Inclination [rad].
Definition: observation.h:960
u8 prn
PRN being tracked.
Definition: observation.h:569
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:636
u16 iodc
Issue of clock data.
Definition: observation.h:646
observation_header_dep_t header
Header of a GPS observation message.
Definition: observation.h:735
u64 sbas_active
SBAS active mask (PRNs 120..158, AN 7/62.2.2-18/18 Table B-23, https://www.caat.or.th/wp-content/uploads/2018/03/SL-2018.18.E-1.pdf)
Definition: observation.h:817
double t_dot
Rate of change of the Draconian period [s/(orbital period^2)].
Definition: observation.h:1004
u8 valid
bit-field indicating validity of the values, LSB indicating tgd validity etc.
Definition: observation.h:884
double dn
Mean motion difference [rad/s].
Definition: observation.h:232
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:980
u8 healthy
Satellite is healthy?
Definition: observation.h:603
u8 iode
Issue of ephemeris data.
Definition: observation.h:532
u8 iode
Issue of ephemeris data.
Definition: observation.h:245
double omegadot
Rate of right ascension [rad/s].
Definition: observation.h:556
u16 toc_wn
Clock reference week number [week].
Definition: observation.h:641
gps_time_sec_t toa
Reference time of almanac.
Definition: observation.h:896
gps_time_sec_t t_op
Data Predict Time of Week.
Definition: observation.h:864
gps_time_dep_t t
GPS time of this observation.
Definition: observation.h:656
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:976
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:590
u8 health_bits
Satellite health status.
Definition: observation.h:173
sbp_gnss_signal_t sid
GNSS signal identifier (16 bit)
Definition: observation.h:141
double omega
Argument of perigee at instant of t_lambda [rad].
Definition: observation.h:1006
double inc_dot
Inclination first derivative [rad/s].
Definition: observation.h:207
float a_gf0
Time offset of the GEO clock w.r.t.
Definition: observation.h:410
u8 valid
Status of almanac, 1 = valid, 0 = invalid.
Definition: observation.h:899
u16 iodc
Issue of clock data.
Definition: observation.h:213
Header for observation message.
Definition: observation.h:655
sbp_gps_time_t t
GNSS time of this observation.
Definition: observation.h:37
float c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:265
gnss_signal_dep_t sid
GNSS signal identifier.
Definition: observation.h:920
u16 lock
Lock indicator.
Definition: observation.h:721
u8 valid
Is valid?
Definition: observation.h:602
gps_time_sec_t toe
Time of Ephemerides.
Definition: observation.h:156
double c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:509
ephemeris_common_content_t common
Values common for all ephemeris types.
Definition: observation.h:406
u16 iodc
Issue of clock data.
Definition: observation.h:246
u8 f
Doppler fractional part [Hz / 256].
Definition: observation.h:54
carrier_phase_dep_a_t L
Carrier phase observation with opposite sign from typical convention.
Definition: observation.h:684
float c_rs
Amplitude of the sine harmonic correction term to the orbit radius [m].
Definition: observation.h:334
u32 fit_interval
Curve fit interval [s].
Definition: observation.h:144
double ura
User Range Accuracy [m].
Definition: observation.h:897
u8 healthy
Satellite is healthy?
Definition: observation.h:530
u8 valid
Status of ephemeris, 1 = valid, 0 = invalid.
Definition: observation.h:159
double tau
Correction to the SV time [s].
Definition: observation.h:381
u8 f
Carrier phase fractional part [cycles / 256].
Definition: observation.h:674
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:344
double toc_tow
Clock reference time of week [s].
Definition: observation.h:565
GNSS doppler measurement.
Definition: observation.h:52
u8 cn0
Carrier-to-Noise density [dB Hz / 4].
Definition: observation.h:702
double tgd
Group delay differential between L1 and L2 [s].
Definition: observation.h:579
double inc
Inclination [rad].
Definition: observation.h:558
double c_uc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
Definition: observation.h:582
float c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:301
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:203
u8 healthy
Satellite is healthy?
Definition: observation.h:643
double lambda_na
Longitude of the first ascending node of the orbit in PZ-90.02 coordinate system [rad].
Definition: observation.h:1020
u8 iode
Issue of ephemeris data.
Definition: observation.h:212
u16 toe_wn
Week number [week].
Definition: observation.h:564
int32_t s32
Signed 32-bit integer.
Definition: common.h:36
double omega0
Longitude of ascending node of orbit plane at weekly epoch [rad].
Definition: observation.h:517
u8 cn0
Carrier-to-Noise density [dB Hz / 4].
Definition: observation.h:685
ephemeris_common_content_t common
Values common for all ephemeris types.
Definition: observation.h:331
sbp_gnss_signal_t sid
GNSS signal identifier (16 bit)
Definition: observation.h:84
double c_is
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
Definition: observation.h:231
double c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:583
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:983
gnss_signal_dep_t sid
GNSS signal identifier.
Definition: observation.h:168
u8 valid
Is valid?
Definition: observation.h:529
double af0
Polynomial clock correction coefficient (clock bias) [s].
Definition: observation.h:208
double m0
Mean anomaly at reference time [rad].
Definition: observation.h:552
double d_tau
Equipment delay between L1 and L2 [s].
Definition: observation.h:465
GPS carrier phase measurement.
Definition: observation.h:672
double tgd
Group delay differential between L1 and L2 [s].
Definition: observation.h:619
float c_rc
Amplitude of the cosine harmonic correction term to the orbit radius [m].
Definition: observation.h:263
float tau
Correction to the SV time [s].
Definition: observation.h:486
u8 lock
Lock timer.
Definition: observation.h:73
double toe_tow
Time of week [s].
Definition: observation.h:563
double sqrta
Square root of the semi-major axis of orbit [m^(1/2)].
Definition: observation.h:554
double c_us
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
Definition: observation.h:510
double af1
Polynomial clock correction coefficient (clock drift) [s/s].
Definition: observation.h:962
double tau
Correction to the SV time [s].
Definition: observation.h:446
double epsilon
Eccentricity at instant of t_lambda.
Definition: observation.h:1005