Ignore:
Timestamp:
Nov 17, 2017, 10:46:47 AM (7 years ago)
Author:
stuerze
Message:

RTCM MT 1020 ephemeris parameter are now completed

File:
1 edited

Legend:

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

    r8166 r8182  
    10491049    _gloFrq = QString("%1 %2").arg(eph._prn.toString().c_str()).arg(
    10501050        eph._frequency_number, 2, 'f', 0);
    1051     SKIPBITS(4)
    1052     /* almanac healthy, almanac health ok, P1 */
     1051    GETBITS(eph._almanac_health, 1) /* almanac healthy */
     1052    GETBITS(eph._almanac_health_availablility_indicator, 1) /* almanac health ok */
     1053    GETBITS(eph._P1, 2) /*  P1 */
    10531054    GETBITS(i, 5)
    10541055    tk = i * 60 * 60;
     
    10581059    tk += i * 30;
    10591060    eph._tki = tk < 3 * 60 * 60 ? tk - 3 * 60 * 60 + 86400 : tk - 3 * 60 * 60;
    1060     GETBITS(eph._health, 1)
    1061     SKIPBITS(1)
    1062     /* P2 */
     1061    GETBITS(eph._health, 1) /* MSB of Bn*/
     1062    GETBITS(eph._P2, 1)  /* P2 */
    10631063    GETBITS(i, 7)
    10641064    eph._TOC.setTk(i * 15 * 60 * 1000); /* tb */
     
    10731073    GETFLOATSIGNM(eph._z_pos, 27, 1.0 / (double )(1 << 11))
    10741074    GETFLOATSIGNM(eph._z_acceleration, 5, 1.0 / (double )(1 << 30))
    1075     SKIPBITS(1)
    1076     /* P3 */
     1075    GETBITS(eph._P3, 1)    /* P3 */
    10771076    GETFLOATSIGNM(eph._gamma, 11, 1.0 / (double )(1 << 30) / (double )(1 << 10))
    1078     SKIPBITS(3)
    1079     /* GLONASS-M P, GLONASS-M ln (third string) */
    1080     GETFLOATSIGNM(eph._tau, 22, 1.0 / (double )(1 << 30))
    1081     /* GLONASS tau n(tb) */
    1082     SKIPBITS(5)
    1083     /* GLONASS-M delta tau n(tb) */
     1077    GETBITS(eph._M_P, 2) /* GLONASS-M P, */
     1078    GETBITS(eph._M_l3, 1) /*GLONASS-M ln (third string) */
     1079    GETFLOATSIGNM(eph._tau, 22, 1.0 / (double )(1 << 30))    /* GLONASS tau n(tb) */
     1080    GETFLOATSIGNM(eph._M_delta_tau, 5, 1.0 / (double )(1 << 30))   /* GLONASS-M delta tau n(tb) */
    10841081    GETBITS(eph._E, 5)
    1085     /* GETBITS(i, 1) / * GLONASS-M P4 */
    1086     /* GETBITS(i, 4) / * GLONASS-M Ft */
    1087     /* GETBITS(i, 11) / * GLONASS-M Nt */
    1088     /* GETBITS(i, 2) / * GLONASS-M M */
    1089     /* GETBITS(i, 1) / * GLONASS-M The Availability of Additional Data */
    1090     /* GETBITS(i, 11) / * GLONASS-M Na */
    1091     /* GETFLOATSIGNM(i, 32, 1.0/(double)(1<<30)/(double)(1<<1)) / * GLONASS tau c */
    1092     /* GETBITS(i, 5) / * GLONASS-M N4 */
    1093     /* GETFLOATSIGNM(i, 22, 1.0/(double)(1<<30)) / * GLONASS-M tau GPS */
    1094     /* GETBITS(i, 1) / * GLONASS-M ln (fifth string) */
     1082    GETBITS(eph._M_P4, 1) /* GLONASS-M P4 */
     1083    GETBITS(eph._M_FT, 4) /* GLONASS-M Ft */
     1084    GETBITS(eph._M_NT, 11) /* GLONASS-M Nt */
     1085    GETBITS(eph._M_M, 2) /* GLONASS-M M */
     1086    GETBITS(eph._additional_data_availability, 1) /* GLONASS-M The Availability of Additional Data */
     1087    GETBITS(eph._NA, 11) /* GLONASS-M Na */
     1088    GETFLOATSIGNM(eph._tauC, 32, 1.0/(double)(1<<30)/(double)(1<<1)) /* GLONASS tau c */
     1089    GETBITS(eph._M_N4, 5) /* GLONASS-M N4 */
     1090    GETFLOATSIGNM(eph._M_tau_GPS, 22, 1.0/(double)(1<<30)) /* GLONASS-M tau GPS */
     1091    GETBITS(eph._M_l5, 1) /* GLONASS-M ln (fifth string) */
    10951092
    10961093    unsigned year, month, day;
Note: See TracChangeset for help on using the changeset viewer.