- Timestamp:
- Feb 22, 2011, 7:51:10 PM (14 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3014 r3015 478 478 } 479 479 480 printResults(out, resCorr); 480 printResults(out, resTime, resCorr); 481 481 dumpResults(resTime, resCorr); 482 482 … … 486 486 // Print results to caster 487 487 //////////////////////////////////////////////////////////////////////////// 488 void bncComb::printResults(QTextStream& out, 488 void bncComb::printResults(QTextStream& out, const bncTime& resTime, 489 489 const QMap<QString, t_corr*>& resCorr) { 490 490 … … 493 493 it.next(); 494 494 t_corr* corr = it.value(); 495 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 496 out.setFieldWidth(3); 497 out << "Full Clock " << corr->prn << " " << corr->iod << " "; 498 out.setFieldWidth(8); 499 out << corr->dClk * t_CST::c << endl; 500 } 501 } 495 t_eph* eph = corr->eph; 496 if (eph) { 497 double xx, yy, zz, cc; 498 eph->position(resTime.gpsw(), resTime.gpssec(), xx, yy, zz, cc); 499 500 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 501 out.setFieldWidth(3); 502 out << "Full Clock " << corr->prn << " " << corr->iod << " "; 503 out.setFieldWidth(14); 504 out << (cc + corr->dClk) * t_CST::c << endl; 505 } 506 else { 507 out << "bncComb::printResuls bug" << endl; 508 } 509 } 510 } -
trunk/BNC/combination/bnccomb.h
r3011 r3015 69 69 void dumpResults(const bncTime& resTime, 70 70 const QMap<QString, t_corr*>& resCorr); 71 void printResults(QTextStream& out, 71 void printResults(QTextStream& out, const bncTime& resTime, 72 72 const QMap<QString, t_corr*>& resCorr); 73 73 void switchToLastEph(const t_eph* lastEph, const t_eph* prevEph,
Note:
See TracChangeset
for help on using the changeset viewer.