- Timestamp:
- Jun 10, 2012, 12:23:11 PM (12 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r4225 r4245 223 223 gpsephemeris** ee = &_gpsEph[gpseph->satellite-1]; 224 224 225 if ( *ee != 0 && 226 gpseph->GPSweek == (*ee)->GPSweek && gpseph->TOC == (*ee)->TOC ) { 227 checkEphemeris(*ee, gpseph); 228 } 229 225 230 if ( *ee == 0 || 226 231 gpseph->GPSweek > (*ee)->GPSweek || … … 802 807 return QApplication::event(ev); 803 808 } 809 810 // Check Ephemeris Consistency 811 //////////////////////////////////////////////////////////////////////////// 812 void bncApp::checkEphemeris(gpsephemeris* oldEph, gpsephemeris* newEph) { 813 if (oldEph->clock_bias != newEph->clock_bias || 814 oldEph->clock_drift != newEph->clock_drift || 815 oldEph->clock_driftrate != newEph->clock_driftrate) { 816 QString msg = currentDateAndTimeGPS().toString(Qt::ISODate) + 817 QString(" %1 EPH DIFFERS\n").arg(oldEph->satellite); 818 messagePrivate(msg.toAscii()); 819 } 820 } -
trunk/BNC/bncapp.h
r4167 r4245 94 94 void dumpCorrs(const QList<QString>& allCorrs); 95 95 void messagePrivate(const QByteArray& msg); 96 void checkEphemeris(gpsephemeris* oldEph, gpsephemeris* newEph); 96 97 97 98 QFile* _logFile;
Note:
See TracChangeset
for help on using the changeset viewer.