Changeset 2563 in ntrip
- Timestamp:
- Aug 11, 2010, 10:24:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2548 r2563 213 213 _nmeaStream = new QTextStream(); 214 214 _nmeaStream->setDevice(_nmeaFile); 215 QDateTime dateTime = QDateTime::currentDateTime().toUTC();216 QString nmStr = "GPRMC," + dateTime.time().toString("hhmmss")217 + ",A,,,,,,,"218 + dateTime.date().toString("ddMMyy")219 + ",,";220 221 writeNMEAstr(nmStr);222 215 } 223 216 } … … 775 768 char lamCh = 'E'; 776 769 if (lamDeg < 0) { 777 // lamDeg = -lamDeg; // GW, reason: RTKPlot cant handle 'W' 778 // lamCh = 'W'; // GW, reason: RTKPlot cant handle 'W' 779 lamDeg = 360. +lamDeg; // GW, reason: RTKPlot cant handle 'W' 770 lamDeg = -lamDeg; 771 lamCh = 'W'; 780 772 } 781 773 … … 798 790 writeNMEAstr(QString(str3.str().c_str())); 799 791 792 QDateTime dateTime = QDateTime::currentDateTime().toUTC(); 793 QString nmStr = "GPRMC," + dateTime.time().toString("hhmmss") 794 + ",A,0.00,S,0.00,E,0.00,0.00," 795 + dateTime.date().toString("ddMMyy") 796 + ",,"; 797 writeNMEAstr(nmStr); 798 800 799 return success; 801 800 }
Note:
See TracChangeset
for help on using the changeset viewer.