Changeset 6460 in ntrip


Ignore:
Timestamp:
Dec 27, 2014, 4:23:29 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6459 r6460  
    6565    return;
    6666  }
    67   *out << "ORB CORRECTIONS: " << corrList.size() << endl;
    68 
     67  out->setf(ios::fixed);
     68  bncTime epoTime;
     69  QListIterator<t_orbCorr> it(corrList);
     70  while (it.hasNext()) {
     71    const t_orbCorr& corr = it.next();
     72    if (!epoTime.valid()) {
     73      epoTime = corr._time;
     74      *out << "> ORBIT " << epoTime.datestr(' ') << ' ' << epoTime.timestr(1,' ') << "    "
     75           << corrList.size() << ' ' << corr._staID << endl;
     76    }
     77    *out << corr._prn.toString() << ' ' << setw(3) << corr._iod << ' '
     78         << setw(10) << setprecision(4) << corr._xr[0]     << ' '
     79         << setw(10) << setprecision(4) << corr._xr[1]     << ' '
     80         << setw(10) << setprecision(4) << corr._xr[2]     << "    "
     81         << setw(10) << setprecision(4) << corr._dotXr[0]  << ' '
     82         << setw(10) << setprecision(4) << corr._dotXr[1]  << ' '
     83         << setw(10) << setprecision(4) << corr._dotXr[2]  << endl;
     84  }
    6985  out->flush();
    7086}
Note: See TracChangeset for help on using the changeset viewer.