source: ntrip/trunk/BNC/src/pppOptions.h@ 9092

Last change on this file since 9092 was 8961, checked in by stuerze, 4 years ago

PPP update: pseudo obs tropo added

File size: 2.8 KB
RevLine 
[5708]1#ifndef OPTIONS_H
2#define OPTIONS_H
3
4#include <string>
5#include <vector>
6#include <newmat.h>
[5810]7#include "pppInclude.h"
[5708]8
[5814]9namespace BNC_PPP {
[5708]10
[5810]11class t_pppOptions {
[5708]12 public:
[8905]13 enum e_type {IF, UncombPPP, PPPRTK, DCMcodeBias, DCMphaseBias};
[5810]14 t_pppOptions();
15 ~t_pppOptions();
[5742]16
[6035]17 std::vector<char> systems() const;
[5912]18 const std::vector<t_lc::type>& LCs(char system) const;
[6035]19 std::vector<t_lc::type> ambLCs(char system) const;
[7048]20 std::vector<t_lc::type> codeLCs(char system) const;
[8905]21 std::vector<t_lc::type> ionoLCs(char system) const;
[6035]22 bool useSystem(char system) const {return LCs(system).size() > 0;}
[5912]23 bool useOrbClkCorr() const;
24 bool estTrp() const {return _aprSigTrp > 0.0 || _noiseTrp > 0.0;}
25 bool xyzAprRoverSet() const {
26 return (_xyzAprRover[0] != 0.0 || _xyzAprRover[1] != 0.0 || _xyzAprRover[2] != 0.0);
27 }
[5708]28
[8905]29 e_type _obsModelType;
30 QStringList _obsmodelTypeStr = QStringList()
31 << "IF PPP"
32 << "Uncombined PPP"
33 << "PPP-RTK"
34 << "DCM with Code Biases"
35 << "DCM with Phase Biases";
[5912]36 bool _realTime;
37 std::string _crdFile;
38 std::string _corrMount;
39 std::string _rinexObs;
40 std::string _rinexNav;
41 std::string _corrFile;
[5913]42 double _corrWaitTime;
[7521]43 std::string _roverName;
[5912]44 ColumnVector _xyzAprRover;
45 ColumnVector _neuEccRover;
[7521]46 std::string _recNameRover;
47 std::string _antNameRover;
48 std::string _antexFileName;
[7961]49 std::string _blqFileName;
[5912]50 double _sigmaC1;
51 double _sigmaL1;
52 double _maxResC1;
53 double _maxResL1;
[8905]54 double _sigmaGIMdiff;
[8961]55 double _sigmaTz0;
[5912]56 bool _eleWgtCode;
57 bool _eleWgtPhase;
58 double _minEle;
59 int _minObs;
60 ColumnVector _aprSigCrd;
61 ColumnVector _noiseCrd;
62 double _noiseClk;
63 double _aprSigTrp;
64 double _noiseTrp;
[8905]65 double _aprSigIon;
66 double _noiseIon;
67 double _aprSigCodeBias;
68 double _noiseCodeBias;
69 double _aprSigPhaseBias;
70 double _noisePhaseBias;
[6965]71 int _nmeaPort;
[5912]72 double _aprSigAmb;
[5957]73 double _seedingTime;
[5912]74 std::vector<t_lc::type> _LCsGPS;
75 std::vector<t_lc::type> _LCsGLONASS;
76 std::vector<t_lc::type> _LCsGalileo;
[6965]77 std::vector<t_lc::type> _LCsBDS;
[8905]78 bool _pseudoObsIono;
[8961]79 bool _pseudoObsTropo;
[8905]80 bool _refSatRequired;
[5708]81};
82
83}
84
85#endif
Note: See TracBrowser for help on using the repository browser.