Changeset 8823 in ntrip for branches/BNC_2.12
- Timestamp:
- Oct 1, 2019, 3:13:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/pppRun.cpp
r8793 r8823 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') { … … 691 688 } 692 689 690 693 691 QString nmStr(out.str().c_str()); 694 692 unsigned char XOR = 0;
Note:
See TracChangeset
for help on using the changeset viewer.