Changeset 9180 in ntrip
- Timestamp:
- Oct 22, 2020, 4:33:20 PM (4 years ago)
- Location:
- branches/BNC_2.12/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/combination/bnccomb.cpp
r9080 r9180 733 733 734 734 QString outLines; 735 //QStringList corrLines;736 737 735 unsigned year, month, day, hour, minute; 738 736 double sec; … … 808 806 corr->_orbCorr._dotXr[2], 809 807 0.0); 810 //corrLines << line;811 812 808 delete corr; 813 809 } -
branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
r9141 r9180 604 604 t_irc irc = processSatellite(eph, epoTime.gpsw(), epoTime.gpssec(), prnStr, rtnAPC, 605 605 rtnUra, rtnClk, rtnVel, rtnCoM, rtnClkSig, sd, outLine); 606 if (irc != success) { 606 if (irc != success) {/* 607 607 // very few cases: check states bad and unhealthy are excluded earlier 608 608 sd->ID = prnStr.mid(1).toInt(); // to prevent G00, R00 entries 609 609 sd->IOD = eph->IOD(); 610 */ 611 continue; 610 612 } 611 613 } … … 996 998 sd->Orbit.DotDeltaAlongTrack = dotRsw(2); 997 999 sd->Orbit.DotDeltaCrossTrack = dotRsw(3); 1000 1001 if (corrIsOutOfRange(sd)) { 1002 return failure; 1003 } 998 1004 } 999 1005 1000 1006 outLine.sprintf("%d %.1f %s %u %10.3f %8.3f %8.3f %8.3f %8.3f %8.3f\n", GPSweek, 1001 1007 GPSweeks, eph->prn().toString().c_str(), eph->IOD(), dClkA0, dClkA1, dClkA2, 1002 rsw(1), rsw(2), rsw(3)); 1008 rsw(1), rsw(2), rsw(3)); //fprintf(stderr, "%s\n", outLine.toStdString().c_str()); 1003 1009 1004 1010 // RTNET full clock for RINEX and SP3 file … … 1153 1159 return 2; // default 1154 1160 } 1161 1162 bool bncRtnetUploadCaster::corrIsOutOfRange(struct SsrCorr::ClockOrbit::SatData* sd) { 1163 1164 if (fabs(sd->Clock.DeltaA0) > 209.7151) {return true;} 1165 if (fabs(sd->Clock.DeltaA1) > 1.048575) {return true;} 1166 if (fabs(sd->Clock.DeltaA2) > 1.34217726) {return true;} 1167 1168 if (fabs(sd->Orbit.DeltaRadial) > 209.7151) {return true;} 1169 if (fabs(sd->Orbit.DeltaAlongTrack) > 209.7148) {return true;} 1170 if (fabs(sd->Orbit.DeltaCrossTrack) > 209.7148) {return true;} 1171 1172 if (fabs(sd->Orbit.DotDeltaRadial) > 1.048575) {return true;} 1173 if (fabs(sd->Orbit.DotDeltaAlongTrack) > 1.048572) {return true;} 1174 if (fabs(sd->Orbit.DotDeltaCrossTrack) > 1.048572) {return true;} 1175 1176 return false; 1177 } -
branches/BNC_2.12/src/upload/bncrtnetuploadcaster.h
r9130 r9180 39 39 struct SsrCorr::ClockOrbit::SatData* sd, 40 40 QString& outLine); 41 42 bool corrIsOutOfRange(struct SsrCorr::ClockOrbit::SatData* sd); 43 41 44 void crdTrafo(int GPSWeek, ColumnVector& xyz, double& dc); 42 45
Note:
See TracChangeset
for help on using the changeset viewer.