Changeset 69 in ntrip
- Timestamp:
- Aug 25, 2006, 11:26:19 AM (19 years ago)
- Location:
- trunk/BNC/RTIGS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTIGS/cgps_transform.cpp
r61 r69 598 598 StrPos = IGSObsMinusPtr = sizeof(RTIGSO_T) - sizeof (rtigs_obs.data); 599 599 600 cout << "StrPos " << StrPos << endl; 600 //// cout << "StrPos " << StrPos << endl; 601 601 602 602 memcpy ((void *)&rtigs_obs.rec_id, RTIGSO_Str, IGSObsMinusPtr); -
trunk/BNC/RTIGS/rtigs.cpp
r68 r69 76 76 RTIGSO_T rtigs_obs; 77 77 short numObs = _GPSTrans.Decode_RTIGS_Obs(p_buf, numbytes, rtigs_obs); 78 79 //// if (numObs > 0) { 80 //// _GPSTrans.print_CMEAS(); 81 //// } 82 78 83 for (short ii = 0; ii < numObs; ii++) { 79 84 Observation* obs = new Observation(); … … 81 86 //// obs->statID = 82 87 obs->SVPRN = _GPSTrans.DecObs.Obs[ii].sat_prn; 83 obs->GPSWeek = _GPSTrans.DecObs.Obs[ii].GPSTime / 7; 88 obs->GPSWeek = _GPSTrans.DecObs.Obs[ii].GPSTime / 7 / 86400; 84 89 obs->GPSWeeks = _GPSTrans.DecObs.Obs[ii].GPSTime - 85 90 obs->GPSWeek * 7 * 86400;
Note:
See TracChangeset
for help on using the changeset viewer.