Changeset 8617 in ntrip for trunk/BNC/src/bncrinex.cpp


Ignore:
Timestamp:
Feb 28, 2019, 2:46:37 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
  • trunk/BNC/src/bncrinex.cpp

    r8500 r8617  
    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;
     
    630630          << left  << setw(3) << "S" + frqObs->_rnxType2ch << ' '
    631631          << right << setw(8) << setprecision(3) << frqObs->_snr;
     632    }   
     633    if (frqObs->_lockTimeValid && printLockTime) {
     634      str << ' '
     635          << left  << setw(3) << "T" + frqObs->_rnxType2ch << ' '
     636          << right << setw(9) << setprecision(3) << frqObs->_lockTime;
    632637    }
    633638  }
Note: See TracChangeset for help on using the changeset viewer.