Changeset 8616 in ntrip for branches/BNC_2.12/src/bncrinex.cpp


Ignore:
Timestamp:
Feb 28, 2019, 2:45:02 PM (5 years ago)
Author:
stuerze
Message:

a computed lock time is added for RTCM3 phase observations as an optional feed engine output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncrinex.cpp

    r8501 r8616  
    601601// One Line in ASCII (Internal) Format
    602602////////////////////////////////////////////////////////////////////////////
    603 string bncRinex::asciiSatLine(const t_satObs& obs) {
     603string bncRinex::asciiSatLine(const t_satObs& obs, bool printLockTime) {
    604604
    605605  ostringstream str;
     
    631631          << right << setw(8) << setprecision(3) << frqObs->_snr;
    632632    }
     633    if (frqObs->_lockTimeValid && printLockTime) {
     634      str << ' '
     635          << left  << setw(3) << "T" + frqObs->_rnxType2ch << ' '
     636          << right << setw(9) << setprecision(3) << frqObs->_lockTime;
     637    }   
    633638  }
    634639
Note: See TracChangeset for help on using the changeset viewer.