Changeset 8472 in ntrip


Ignore:
Timestamp:
Sep 5, 2018, 1:26:04 PM (3 weeks ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r8470 r8472  
    974974    eph._prn.set('G', i);
    975975    GETBITS(week, 10)
    976     week += 1024;
    977976    GETBITS(i, 4)
    978977    eph._ura = accuracyFromIndex(i, eph.type());
     
    10031002    t.set(i * 1000);
    10041003    eph._TOEweek = t.gpsw();
     1004    int numOfRollOvers = int(floor(t.gpsw()/1024.0));
     1005    week += (numOfRollOvers * 1024);
    10051006    /* week from HOW, differs from TOC, TOE week, we use adapted value instead */
    10061007    if (eph._TOEweek > week + 1 || eph._TOEweek < week - 1) /* invalid week */
     
    11271128    GETBITS(i, 4)
    11281129    eph._prn.set('J', i);
    1129 
     1130   
    11301131    GETBITS(i, 16)
    11311132    i <<= 4;
     
    11621163    GETBITS(eph._L2Codes, 2)
    11631164    GETBITS(week, 10)
    1164     week += 1024;
     1165    int numOfRollOvers = int(floor(t.gpsw()/1024.0));
     1166    week += (numOfRollOvers * 1024);
    11651167    /* week from HOW, differs from TOC, TOE week, we use adapted value instead */
    11661168    if (eph._TOEweek > week + 1 || eph._TOEweek < week - 1) /* invalid week */
Note: See TracChangeset for help on using the changeset viewer.