Changeset 8456 in ntrip


Ignore:
Timestamp:
Aug 29, 2018, 10:24:28 AM (6 years ago)
Author:
stuerze
Message:

bug fixed regarding TOT in BDS and SBAS RTCM3 ephemeris message

Location:
trunk/BNC/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3Decoder.cpp

    r8234 r8456  
    12221222    GETFLOATSIGN(eph._agf1, 8, 1.0 / (1 << 30) / (1 << 10))
    12231223
    1224     eph._TOW = 0.9999E9;
     1224    eph._TOT = 0.9999E9;
    12251225    eph._health = 0;
    12261226
     
    13721372    GETBITS(eph._SatH1, 1)
    13731373
    1374     eph._TOW = 0.9999E9;
     1374    eph._TOT = 0.9999E9;
    13751375    emit newBDSEph(eph);
    13761376    decoded = true;
  • trunk/BNC/src/ephemeris.cpp

    r8419 r8456  
    630630  acc[1] = _y_acceleration * 1.e3;
    631631  acc[2] = _z_acceleration * 1.e3;
     632
    632633  for (int ii = 1; ii <= nSteps; ii++) {
    633634    _xv = rungeKutta4(_tt.gpssec(), _xv, step, acc, glo_deriv);
     
    12071208      if ( readDbl(line, pos[1], fieldLen, _agf0 ) ||
    12081209           readDbl(line, pos[2], fieldLen, _agf1 ) ||
    1209            readDbl(line, pos[3], fieldLen, _TOW  ) ) {
     1210           readDbl(line, pos[3], fieldLen, _TOT  ) ) {
    12101211        _checkState = bad;
    12111212        return;
     
    13201321    .arg(_agf0, 19, 'e', 12)
    13211322    .arg(_agf1, 19, 'e', 12)
    1322     .arg(_TOW,  19, 'e', 12);
     1323    .arg(_TOT,  19, 'e', 12);
    13231324
    13241325  QString fmt = version < 3.0 ? "   %1%2%3%4\n" : "    %1%2%3%4\n";
  • trunk/BNC/src/ephemeris.h

    r8215 r8456  
    343343  t_ephSBAS() {
    344344    _IODN           = 0;
    345     _TOW            = 0.0;
     345    _TOT            = 0.0;
    346346    _agf0           = 0.0;
    347347    _agf1           = 0.0;
     
    370370
    371371  int    _IODN;
    372   double _TOW;            // not used (set to  0.9999e9)
     372  double _TOT;            // not used (set to  0.9999e9)
    373373  double _agf0;           // [s]    clock correction
    374374  double _agf1;           // [s/s]  clock correction drift
Note: See TracChangeset for help on using the changeset viewer.