Ignore:
Timestamp:
Mar 17, 2025, 5:02:57 PM (2 days ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r10619 r10632  
    16051605    t_ephSBAS eph;
    16061606    int i;
     1607    eph._health = 0;
    16071608    uint64_t numbits = 0, bitfield = 0;
    16081609
     
    16401641    eph._TOC.setTOD(i * 1000);
    16411642    GETBITS(i, 4)
     1643    int health = 0;
     1644    if (i == 15) {
     1645      health |= (1 << 5);
     1646      // in this case it is recommended
     1647      // to set the bits 0,1,2,3 to 1 (MT17health = 15)
     1648      health |= (1 << 0);
     1649      health |= (1 << 1);
     1650      health |= (1 << 2);
     1651      health |= (1 << 3);
     1652      eph._health = double(health);
     1653    }
    16421654    eph._ura = accuracyFromIndex(i, eph.system());
    16431655    GETFLOATSIGN(eph._x_pos, 30, 0.08)
     
    16631675
    16641676    eph._TOT = 0.9999E9;
    1665     eph._health = 0;
     1677
    16661678    eph._type = t_eph::SBASL1;
    16671679    eph._prn.setFlag(eph._type);
Note: See TracChangeset for help on using the changeset viewer.