Changeset 797 in ntrip
- Timestamp:
- Apr 8, 2008, 4:46:01 PM (17 years ago)
- Location:
- trunk/BNS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r796 r797 178 178 readEpoch(); 179 179 } 180 else {181 _clkSocket->waitForReadyRead(10);182 }183 180 } 184 181 else { … … 193 190 194 191 QByteArray line = _clkSocket->readLine(); 195 196 cout << line.data();197 192 198 193 if (line.indexOf('*') == -1) { … … 211 206 line = _clkSocket->readLine(); 212 207 213 cout << line.data();214 215 208 QTextStream in(line); 216 209 … … 219 212 220 213 in >> prn >> xx(1) >> xx(2) >> xx(3) >> xx(4); 221 xx(4) *= 1e 6;214 xx(4) *= 1e-6; 222 215 223 216 processSatellite(mjd, sec, prn, xx); -
trunk/BNS/bnseph.cpp
r796 r797 61 61 } 62 62 if (_socket->canReadLine()) { 63 cout << "readEph" << endl;64 63 readEph(); 65 64 } … … 84 83 85 84 QByteArray line = _socket->readLine(); 86 87 cout << line.data();88 85 89 86 if (flagGlonass) {
Note:
See TracChangeset
for help on using the changeset viewer.