- Timestamp:
- May 5, 2008, 2:03:36 PM (17 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/RTCM3/RTCM3coDecoder.cpp ¶
r866 r868 39 39 * -----------------------------------------------------------------------*/ 40 40 41 #include <stdio.h> 42 41 43 #include "RTCM3coDecoder.h" 42 44 … … 56 58 //////////////////////////////////////////////////////////////////////////// 57 59 t_irc RTCM3coDecoder::Decode(char* buffer, int bufLen) { 60 61 memset(&_co, 0, sizeof(_co)); 62 int irc = GetClockOrbitBias(&_co, &_bias, buffer, bufLen); 63 64 printf("EPOCH %d %d %d\n", irc, _co.GPSEpochTime, _co.NumberOfGPSSat); 65 66 for(int ii = 0; ii < _co.NumberOfGPSSat; ++ii) { 67 printf("%d G%d %d %f %f %f %f\n", _co.GPSEpochTime, 68 _co.Sat[ii].ID, _co.Sat[ii].IOD, _co.Sat[ii].Clock.DeltaA0, 69 _co.Sat[ii].Orbit.DeltaRadial, _co.Sat[ii].Orbit.DeltaAlongTrack, 70 _co.Sat[ii].Orbit.DeltaCrossTrack); 71 } 72 58 73 return success; 59 74 } -
TabularUnified trunk/BNC/RTCM3/RTCM3coDecoder.h ¶
r867 r868 39 39 private: 40 40 ClockOrbit _co; 41 Bias _bias; 41 42 } ; 42 43
Note:
See TracChangeset
for help on using the changeset viewer.