Changeset 6181 in ntrip


Ignore:
Timestamp:
Sep 14, 2014, 2:40:59 PM (7 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/satObs.cpp

    r6180 r6181  
    1212  reset();
    1313  istringstream in(line);
     14  char ch; in >> ch; if (ch != 'C') return;
     15  int    gpsw;
     16  double gpssec;
     17  in >> gpsw >> gpssec >> _prn >> _iod >> _dClk >> _dotDClk >> _dotDotDClk;
     18  _time.set(gpsw, gpssec);
     19  _dClk       /= t_CST::c;
     20  _dotDClk    /= t_CST::c;
     21  _dotDotDClk /= t_CST::c;
    1422}
    1523
     
    4250  reset();
    4351  istringstream in(line);
     52  char ch; in >> ch; if (ch != '0') return;
     53  int    gpsw;
     54  double gpssec;
     55  in >> gpsw >> gpssec >> _prn >> _iod
     56     >> _xr[0]    >> _xr[1]    >> _xr[2]
     57     >> _dotXr[0] >> _dotXr[1] >> _dotXr[2];
     58  _time.set(gpsw, gpssec);
    4459}
    4560
Note: See TracChangeset for help on using the changeset viewer.