- Timestamp:
- Dec 16, 2015, 4:19:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/rnxnavfile.cpp
r7208 r7638 35 35 * Created: 24-Jan-2012 36 36 * 37 * Changes: 37 * Changes: 38 38 * 39 39 * -----------------------------------------------------------------------*/ … … 130 130 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 131 131 delete _ephs[ii]; 132 } 132 } 133 133 } 134 134 … … 156 156 else { 157 157 if (glonass()) { 158 prn = QString("R%1 ").arg(hlp.at(0).toInt(), 2, 10, QChar('0'));158 prn = QString("R%1_0").arg(hlp.at(0).toInt(), 2, 10, QChar('0')); 159 159 } 160 160 else { 161 prn = QString("G%1").arg(hlp.at(0).toInt(), 2, 10, QChar('0')); 162 } 163 } 161 prn = QString("G%1_0").arg(hlp.at(0).toInt(), 2, 10, QChar('0')); 162 } 163 } 164 164 165 t_eph* eph = 0; 165 166 QStringList lines; lines << line; … … 213 214 // Read Next Ephemeris 214 215 //////////////////////////////////////////////////////////////////////////// 215 t_eph* t_rnxNavFile::getNextEph(const bncTime& tt, 216 t_eph* t_rnxNavFile::getNextEph(const bncTime& tt, 216 217 const QMap<QString, unsigned int>* corrIODs) { 217 218 … … 243 244 while (it != _ephs.end()) { 244 245 t_eph* eph = *it; 245 246 246 double dt = eph->TOC() - tt; 247 248 247 if (dt < 2*3600.0) { 249 248 it = _ephs.erase(it); … … 257 256 } 258 257 259 // 258 // 260 259 //////////////////////////////////////////////////////////////////////////// 261 260 void t_rnxNavFile::writeHeader(const QMap<QString, QString>* txtMap) { … … 278 277 279 278 if (version() < 3.0) { 280 const QString fmt = glonass() ? "%1 GLONASS navigation data" 279 const QString fmt = glonass() ? "%1 GLONASS navigation data" 281 280 : "%1 Navigation data"; 282 281 *_stream << QString(fmt) … … 311 310 } 312 311 313 // 312 // 314 313 //////////////////////////////////////////////////////////////////////////// 315 314 void t_rnxNavFile::writeEph(const t_eph* eph) {
Note:
See TracChangeset
for help on using the changeset viewer.