Changeset 8689 in ntrip for trunk


Ignore:
Timestamp:
Apr 24, 2019, 11:02:55 AM (5 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.cpp

    r8618 r8689  
    613613  double dtPos = bncTime(GPSweek, GPSweeks) - _tt;
    614614
    615   if (fabs(dtPos) > 24*3600.0) {
     615  if (fabs(dtPos) > 3600.0) {
    616616    return failure;
    617617  }
  • trunk/BNC/src/latencychecker.h

    r8442 r8689  
    4040  void checkCorrLatency(int corrGPSEpochTime, int type);
    4141  double currentLatency() { return _curLat;}
    42   //QByteArray currentLatencyType() {return l._type;}
    4342
    4443  class t_latency  {
    4544   public:
    4645    t_latency() {
    47       _oldSec     = -1;
    48       _newSec     = -1;
    49       _numGaps    =  0;
    50       _diffSec    =  0;
    51       _numLat     =  0;
    52       _sumLat     =  0.0;
    53       _sumLatQ    =  0.0;
    54       _meanDiff   =  0.0;
     46      _oldSec     = 0;
     47      _newSec     = 0;
     48      _numGaps    = 0;
     49      _diffSec    = 0;
     50      _numLat     = 0;
     51      _sumLat     = 0.0;
     52      _sumLatQ    = 0.0;
     53      _meanDiff   = 0.0;
    5554      _minLat     =  1000.0;
    5655      _maxLat     = -1000.0;
    57       _curLat     =  0.0;
    58       _type       =  "";
    59       _followSec  =  false;
     56      _curLat     = 0.0;
     57      _type       = "";
     58      _followSec  = false;
    6059    }
    6160    void init() {
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8679 r8689  
    504504        }
    505505        else {
     506          in >> numVal;
     507          for (int ii = 0; ii < numVal; ii++) {
     508            double dummy;
     509            in >> dummy;
     510          }
    506511          emit(newMessage("                      RTNET format error: "
    507512                          +  lines[ii].toLatin1(), false));
  • trunk/BNC/src/upload/bncuploadcaster.cpp

    r8275 r8689  
    102102        _outBuffer.clear();
    103103      }
    104       msleep(100); //sleep 0.1 sec
     104      msleep(200); //sleep 0.2 sec
    105105    }
    106106    else {
Note: See TracChangeset for help on using the changeset viewer.