- Timestamp:
- Mar 8, 2008, 1:30:47 PM (18 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/BNC/bncgetthread.cpp (modified) (4 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/BNC/bncgetthread.cppr709 r710 406 406 double curLat = 0.; 407 407 double leapsec = 14.; // Leap second for latency estimation 408 int week; 409 double sec; 408 410 409 411 _decodeTime = QDateTime::currentDateTime(); … … 447 449 char* data = new char[nBytes]; 448 450 _socket->read(data, nBytes); 451 currentGPSWeeks(week, sec); 449 452 450 453 if (_inspSegm<1) { … … 554 557 // Check observation epoch 555 558 // ----------------------- 556 int week;557 double sec;558 currentGPSWeeks(week, sec);559 560 559 const double secPerWeek = 7.0 * 24.0 * 3600.0; 561 560 … … 600 599 } 601 600 curLat = sec - obs->_o.GPSWeeks + leapsec; 601 printf("curLat %f\n",curLat); 602 602 sumLat += curLat; 603 603 if (curLat < minLat) minLat = curLat; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
