- Timestamp:
- May 1, 2012, 8:29:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/upload/bncrtnetuploadcaster.cpp
r3890 r4098 280 280 eph = ephPair->last; 281 281 282 // receptDateTime() not (yet?) defined 283 // if (ephPair->prev && 284 // eph->receptDateTime().secsTo(QDateTime::currentDateTime()) < 60) { 285 // eph = ephPair->prev; 286 // } 282 // Use previous ephemeris if the last one is too recent 283 // ---------------------------------------------------- 284 const int MINAGE = 60; // seconds 285 if (ephPair->prev && eph->receptDateTime().isValid() && 286 eph->receptDateTime().secsTo(currentDateAndTimeGPS()) < MINAGE) { 287 eph = ephPair->prev; 288 } 287 289 288 290 // Make sure the clock messages refer to same IOD as orbit messages
Note:
See TracChangeset
for help on using the changeset viewer.