Line | |
---|
1 | #ifndef SATOBS_H
|
---|
2 | #define SATOBS_H
|
---|
3 |
|
---|
4 | #include <string>
|
---|
5 | #include <vector>
|
---|
6 | #include <newmat.h>
|
---|
7 |
|
---|
8 | #include "bncconst.h"
|
---|
9 | #include "bnctime.h"
|
---|
10 | #include "t_prn.h"
|
---|
11 |
|
---|
12 | class t_frqObs {
|
---|
13 | public:
|
---|
14 | t_frqObs() {
|
---|
15 | _code = 0.0;
|
---|
16 | _codeValid = false;
|
---|
17 | _phase = 0.0;
|
---|
18 | _phaseValid = false;
|
---|
19 | _doppler = 0.0;
|
---|
20 | _dopplerValid = false;
|
---|
21 | _snr = 0.0;
|
---|
22 | _snrValid = false;
|
---|
23 | _slip = false;
|
---|
24 | _slipCounter = 0;
|
---|
25 | _biasJumpCounter = 0;
|
---|
26 | }
|
---|
27 | std::string _rnxType2ch;
|
---|
28 | double _code;
|
---|
29 | bool _codeValid;
|
---|
30 | double _phase;
|
---|
31 | bool _phaseValid;
|
---|
32 | double _doppler;
|
---|
33 | bool _dopplerValid;
|
---|
34 | double _snr;
|
---|
35 | bool _snrValid;
|
---|
36 | bool _slip;
|
---|
37 | int _slipCounter;
|
---|
38 | int _biasJumpCounter;
|
---|
39 | };
|
---|
40 |
|
---|
41 | class t_satObs {
|
---|
42 | public:
|
---|
43 | t_satObs() {}
|
---|
44 | ~t_satObs() {for (unsigned ii = 0; ii < _obs.size(); ii++) delete _obs[ii];}
|
---|
45 | t_prn _prn;
|
---|
46 | bncTime _time;
|
---|
47 | std::vector<t_frqObs*> _obs;
|
---|
48 | };
|
---|
49 |
|
---|
50 | class t_orbCorr {
|
---|
51 | public:
|
---|
52 | t_prn prn() const {return _prn;}
|
---|
53 | unsigned short IOD() const {return _iod;}
|
---|
54 | t_prn _prn;
|
---|
55 | unsigned short _iod;
|
---|
56 | bncTime _time;
|
---|
57 | char _system;
|
---|
58 | double _xr[3];
|
---|
59 | double _dotXr[3];
|
---|
60 | };
|
---|
61 |
|
---|
62 | class t_clkCorr {
|
---|
63 | public:
|
---|
64 | t_prn prn() const {return _prn;}
|
---|
65 | unsigned short IOD() const {return _iod;}
|
---|
66 | t_prn _prn;
|
---|
67 | unsigned short _iod;
|
---|
68 | bncTime _time;
|
---|
69 | double _dClk;
|
---|
70 | double _dotDClk;
|
---|
71 | double _dotDotDClk;
|
---|
72 | double _clkPartial;
|
---|
73 | };
|
---|
74 |
|
---|
75 | class t_frqBias {
|
---|
76 | public:
|
---|
77 | t_frqBias() {
|
---|
78 | _code = 0.0;
|
---|
79 | _codeValid = false;
|
---|
80 | _phase = 0.0;
|
---|
81 | _phaseValid = false;
|
---|
82 | }
|
---|
83 | std::string _rnxType2ch;
|
---|
84 | double _code;
|
---|
85 | bool _codeValid;
|
---|
86 | double _phase;
|
---|
87 | bool _phaseValid;
|
---|
88 | };
|
---|
89 |
|
---|
90 | class t_satBias {
|
---|
91 | public:
|
---|
92 | t_prn _prn;
|
---|
93 | bncTime _time;
|
---|
94 | int _nx;
|
---|
95 | int _jumpCount;
|
---|
96 | std::vector<t_frqBias> _bias;
|
---|
97 | };
|
---|
98 |
|
---|
99 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.