- Timestamp:
- Aug 30, 2013, 4:53:06 PM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/GPSDecoder.cpp
r5374 r5375 189 189 } 190 190 else if (rnxStr[2] == 'X') { 191 if (satSys == 'C' ) {191 if (satSys == 'C' || satSys == 'E') { 192 192 res += GNSSENTRY_TYPEC1; 193 193 } … … 210 210 res += GNSSENTRY_TYPEC2; 211 211 } 212 else if (QString("IQ").indexOf(rnxStr[2]) != -1) { 212 else if (rnxStr[2] == 'I') { 213 if (satSys == 'C') { 214 res += GNSSENTRY_TYPEC1; // Compass: RINEX 3.01 "2I" corresponds to "1I" RINEX 3.02 215 } 216 else { 217 res += GNSSENTRY_TYPEC2; 218 } 219 } 220 else if (rnxStr[2] == 'Q') { 213 221 res += GNSSENTRY_TYPEC2; 214 222 } -
trunk/BNC/src/bnccore.cpp
r5312 r5375 49 49 #include "bncversion.h" 50 50 #include "RTCM3/ephemeris.h" 51 #include "rinex/rnxobsfile.h" 52 #include "rinex/rnxnavfile.h" 51 53 52 54 #ifdef USE_COMBINATION … … 464 466 if (! (appendFlagGPS & QIODevice::Append)) { 465 467 QString line; 466 line.sprintf( 467 "%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n", 2.10, "", "");468 line.sprintf("%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n", 469 t_rnxNavFile::defaultRnxNavVersion2, "", ""); 468 470 *_ephStreamGPS << line; 469 471 … … 481 483 if (! (appendFlagGlonass & QIODevice::Append)) { 482 484 QString line; 483 line.sprintf( 484 "%9.2f%11sG: GLONASS NAV DATA%21sRINEX VERSION / TYPE\n",2.10,"","");485 line.sprintf("%9.2f%11sG: GLONASS NAV DATA%21sRINEX VERSION / TYPE\n", 486 t_rnxNavFile::defaultRnxNavVersion2, "", ""); 485 487 *_ephStreamGlonass << line; 486 488 … … 507 509 eph.set(ep); 508 510 509 QString strV2 = eph.toString( 2.11);510 QString strV3 = eph.toString( 3.01);511 QString strV2 = eph.toString(t_rnxNavFile::defaultRnxNavVersion2); 512 QString strV3 = eph.toString(t_rnxObsHeader::defaultRnxObsVersion3); 511 513 512 514 printOutput(printFile, _ephStreamGPS, strV2, strV3); … … 515 517 // Print One Glonass Ephemeris 516 518 //////////////////////////////////////////////////////////////////////////// 517 void t_bncCore::printGlonassEph(glonassephemeris* ep, bool printFile, const QString& staID) {519 void t_bncCore::printGlonassEph(glonassephemeris* ep, bool printFile, const QString& /* staID */) { 518 520 519 521 t_ephGlo eph; 520 522 eph.set(ep); 521 523 522 QString strV2 = eph.toString( 2.11);523 QString strV3 = eph.toString( 3.01);524 QString strV2 = eph.toString(t_rnxNavFile::defaultRnxNavVersion2); 525 QString strV3 = eph.toString(t_rnxObsHeader::defaultRnxObsVersion3); 524 526 525 527 //// beg test Dirk … … 538 540 eph.set(ep); 539 541 540 QString strV2 = eph.toString( 2.11);541 QString strV3 = eph.toString( 3.01);542 QString strV2 = eph.toString(t_rnxNavFile::defaultRnxNavVersion2); 543 QString strV3 = eph.toString(t_rnxObsHeader::defaultRnxObsVersion3); 542 544 543 545 printOutput(printFile, _ephStreamGalileo, strV2, strV3); -
trunk/BNC/src/rinex/rnxnavfile.h
r4229 r5375 39 39 public: 40 40 enum e_inpOut {input, output}; 41 static const double defaultRnxNavVersion2 = 2.11; 42 static const double defaultRnxNavVersion3 = 3.01; 41 43 42 44 private: -
trunk/BNC/src/rinex/rnxobsfile.h
r4540 r5375 40 40 class t_rnxObsHeader { 41 41 public: 42 static const double defaultRnxObsVersion2 = 2.11; 43 static const double defaultRnxObsVersion3 = 3.02; 44 42 45 t_rnxObsHeader(); 43 46 ~t_rnxObsHeader();
Note:
See TracChangeset
for help on using the changeset viewer.