Changeset 8471 in ntrip


Ignore:
Timestamp:
Sep 5, 2018, 10:48:23 AM (2 months ago)
Author:
stuerze
Message:

bug fixed to have now consistent QZSS weeks in clock and orbit broadcast ephemerides

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp

    r8455 r8471  
    11501150    eph._TOEsec = i;
    11511151    bncTime t;
    1152     t.set(i);
    1153 
     1152    t.set(i*1000);
     1153    eph._TOEweek = t.gpsw();
    11541154    GETFLOATSIGN(eph._Cic, 16, 1.0 / (double )(1 << 29))
    11551155    GETFLOATSIGN(eph._OMEGA0, 32, R2R_PI/(double)(1<<30)/(double)(1<<1))
     
    11631163    GETBITS(week, 10)
    11641164    week += 1024;
    1165     eph._TOEweek = t.gpsw();
    11661165    /* week from HOW, differs from TOC, TOE week, we use adapted value instead */
    11671166    if (eph._TOEweek > week + 1 || eph._TOEweek < week - 1) /* invalid week */
Note: See TracChangeset for help on using the changeset viewer.