- Timestamp:
- Aug 4, 2014, 3:10:54 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/ephpool.cpp
r5776 r5789 42 42 #include "ephpool.h" 43 43 #include "ppp.h" 44 #include "pppClient.h" 44 45 45 46 using namespace BNC; … … 132 133 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 133 134 t_eph* eph = _ephs[ii]; 134 t_irc irc = eph->getCrd(tt, xc, vv );135 t_irc irc = eph->getCrd(tt, xc, vv, OPT->corrRequired()); 135 136 if (irc == success) { 136 137 if (eph->prn().system() == 'R') { -
trunk/BNC/src/PPP/options.cpp
r5770 r5789 69 69 // 70 70 ////////////////////////////////////////////////////////////////////////////// 71 bool t_options::corrRequired() const { 72 return false; 73 } 74 75 // 76 ////////////////////////////////////////////////////////////////////////////// 71 77 bool t_options::useGlonass() const { 72 78 return (_lcGLONASS.size() > 0); -
trunk/BNC/src/PPP/options.h
r5757 r5789 22 22 bool dualFreqRequired() const; 23 23 bool biasRequired() const; 24 bool corrRequired() const; 24 25 bool useGlonass() const ; 25 26 bool xyzAprRoverSet() const; -
trunk/BNC/src/ephemeris.cpp
r5776 r5789 59 59 //////////////////////////////////////////////////////////////////////////// 60 60 t_irc t_eph::getCrd(const bncTime& tt, ColumnVector& xc, 61 ColumnVector& vv, bool noCorr) const {61 ColumnVector& vv, bool useCorr) const { 62 62 xc.ReSize(4); 63 63 vv.ReSize(3); 64 64 position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data()); 65 if ( !noCorr) {65 if (useCorr) { 66 66 throw "t_eph::getCrd: not yet implemented"; 67 67 } -
trunk/BNC/src/ephemeris.h
r5776 r5789 58 58 59 59 t_irc getCrd(const bncTime& tt, ColumnVector& xc, 60 ColumnVector& vv, bool noCorr = false) const;60 ColumnVector& vv, bool useCorr) const; 61 61 void setOrbCorr(const BNC::t_orbCorr* orbCorr); 62 62 void setClkCorr(const BNC::t_clkCorr* clkCorr);
Note:
See TracChangeset
for help on using the changeset viewer.