Changeset 6622 in ntrip for trunk


Ignore:
Timestamp:
Mar 3, 2015, 4:29:46 PM (10 years ago)
Author:
stuerze
Message:

small fix in bds encoder

File:
1 edited

Legend:

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

    r6620 r6622  
    354354  BDSADDBITS(5, eph._AODE)
    355355  BDSADDBITS(17, static_cast<int>(eph._TOC_bdt.gpssec())>>3)
    356   BDSADDBITSFLOAT(11, eph._clock_driftrate, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<6))
     356  BDSADDBITSFLOAT(11, eph._clock_driftrate, 1.0/static_cast<double>(1<<30)
     357      /static_cast<double>(1<<30)/static_cast<double>(1<<6))
    357358  BDSADDBITSFLOAT(22, eph._clock_drift, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<20))
    358359  BDSADDBITSFLOAT(24, eph._clock_bias, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<3))
     
    375376  BDSADDBITSFLOAT(10, eph._TGD1, 0.0000000001)
    376377  BDSADDBITSFLOAT(10, eph._TGD2, 0.0000000001)
     378  qDebug()<< "value to encode: " << eph._SatH1;
    377379  BDSADDBITS(1, eph._SatH1)
    378380
Note: See TracChangeset for help on using the changeset viewer.