Changeset 3507 in ntrip for trunk/BNC/GPSS
- Timestamp:
- Nov 19, 2011, 3:43:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/GPSS/hassDecoder.cpp
r3506 r3507 17 17 18 18 #include "hassDecoder.h" 19 #include "bnctime.h" 19 20 20 21 using namespace std; … … 62 63 >> deltaClk >> rateDeltaX >> rateDeltaY >> rateDeltaZ; 63 64 65 bncTime tt; 66 tt.setmjd(daySec, mjd); 67 68 _GPSweeks = tt.gpssec(); 69 long coTime = tt.gpsw() * 7*24*3600 + long(floor(_GPSweeks+0.5)); 70 71 QString corrLine; 72 73 int messageType = -1; 74 int updateInterval = 0; 75 76 corrLine.sprintf("%d %d %d %.1f %s" 77 " %3d" 78 " %8.3f %8.3f %8.3f %8.3f" 79 " %10.5f %10.5f %10.5f %10.5f" 80 " %10.5f", 81 messageType, updateInterval, tt.gpsw(), _GPSweeks, 82 prn.toAscii().data(), IOD, 83 deltaClk, deltaX, deltaY, deltaZ, 84 0.0, rateDeltaX, rateDeltaY, rateDeltaZ, 0.0); 85 86 printLine(corrLine, coTime); 64 87 } 65 88
Note:
See TracChangeset
for help on using the changeset viewer.