Changeset 4174 in ntrip for trunk/BNC/upload
- Timestamp:
- May 15, 2012, 10:27:42 AM (13 years ago)
- Location:
- trunk/BNC/upload
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/upload/bncrtnetuploadcaster.cpp
r4153 r4174 48 48 bncSettings settings; 49 49 QString intr = settings.value("uploadIntr").toString(); 50 int sampl = settings.value("uploadSampl").toInt(); 51 _samplOrb = settings.value("uploadSamplOrb").toDouble(); 52 if (_samplOrb == 0.0) { 50 51 _samplRtcmEphCorr = settings.value("uploadSamplRtcmEphCorr").toDouble(); 52 double samplClkRnx = settings.value("uploadSamplClkRnx").toDouble(); 53 double samplSp3 = settings.value("uploadSamplSp3").toDouble() * 60.0; 54 55 if (_samplRtcmEphCorr == 0.0) { 53 56 _usedEph = 0; 54 57 } … … 60 63 // ---------- 61 64 if (!outFileName.isEmpty()) { 62 _outFile = new bncoutf(outFileName, intr, sampl);65 _outFile = new bncoutf(outFileName, intr, 0); 63 66 } 64 67 else { … … 69 72 // ------------ 70 73 if (!rnxFileName.isEmpty()) { 71 _rnx = new bncClockRinex(rnxFileName, intr, sampl );74 _rnx = new bncClockRinex(rnxFileName, intr, samplClkRnx); 72 75 } 73 76 else { … … 78 81 // ---------- 79 82 if (!sp3FileName.isEmpty()) { 80 _sp3 = new bncSP3(sp3FileName, intr, _samplOrb);83 _sp3 = new bncSP3(sp3FileName, intr, samplSp3); 81 84 } 82 85 else { … … 298 301 // ---------------------------------------------------------------- 299 302 if (_usedEph) { 300 if (fmod(epoTime.gpssec(), _sampl Orb) == 0.0) {303 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 301 304 (*_usedEph)[prn] = eph; 302 305 } … … 396 399 // Orbit and Clock Corrections together 397 400 // ------------------------------------ 398 if (_sampl Orb== 0.0) {401 if (_samplRtcmEphCorr == 0.0) { 399 402 if (co.NumberOfGPSSat > 0 || co.NumberOfGLONASSSat > 0) { 400 403 char obuffer[CLOCKORBIT_BUFFERSIZE]; … … 411 414 if (co.NumberOfGPSSat > 0) { 412 415 char obuffer[CLOCKORBIT_BUFFERSIZE]; 413 if (fmod(epoTime.gpssec(), _sampl Orb) == 0.0) {416 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 414 417 int len1 = MakeClockOrbit(&co, COTYPE_GPSORBIT, 1, obuffer, sizeof(obuffer)); 415 418 if (len1 > 0) { … … 425 428 if (co.NumberOfGLONASSSat > 0) { 426 429 char obuffer[CLOCKORBIT_BUFFERSIZE]; 427 if (fmod(epoTime.gpssec(), _sampl Orb) == 0.0) {430 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 428 431 int len1 = MakeClockOrbit(&co, COTYPE_GLONASSORBIT, 1, obuffer, sizeof(obuffer)); 429 432 if (len1 > 0) { -
trunk/BNC/upload/bncrtnetuploadcaster.h
r4111 r4174 44 44 int _SID; 45 45 int _IOD; 46 double _sampl Orb;46 double _samplRtcmEphCorr; 47 47 double _dx; 48 48 double _dy;
Note:
See TracChangeset
for help on using the changeset viewer.