Changeset 8824 in ntrip for trunk/BNC/src
- Timestamp:
- Oct 1, 2019, 3:14:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppRun.cpp
r8794 r8824 662 662 663 663 if (strType == 'R') { 664 string datestr = output._epoTime.datestr(0); // yyyymmdd664 string datestr = (output._epoTime - gps_utc).datestr(0); // yyyymmdd 665 665 out << "GPRMC," 666 666 << (output._epoTime - gps_utc).timestr(3,0) << ",A," 667 667 << setw(2) << setfill('0') << int(phiDeg) 668 << setw(6) << setprecision(3) << setfill('0') 669 << fmod(60*phiDeg,60) << ',' << phiCh << ',' 668 << setw(7) << setprecision(4) << setfill('0') << fmod(60*phiDeg,60) << ',' << phiCh << ',' 670 669 << setw(3) << setfill('0') << int(lamDeg) 671 << setw(6) << setprecision(3) << setfill('0') 672 << fmod(60*lamDeg,60) << ',' << lamCh << ",,," 673 << datestr[6] << datestr[7] << datestr[4] << datestr[5] 674 << datestr[2] << datestr[3] << ",,"; 670 << setw(7) << setprecision(4) << setfill('0') << fmod(60*lamDeg,60) << ',' << lamCh << ",,," 671 << datestr[6] << datestr[7] << datestr[4] << datestr[5] << datestr[2] << datestr[3] << ",,"; 675 672 } 676 673 else if (strType == 'G') {
Note:
See TracChangeset
for help on using the changeset viewer.