Changeset 2711 in ntrip for trunk/BNC/RTIGS
- Timestamp:
- Nov 18, 2010, 1:38:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTIGS/RTIGSDecoder.cpp
r2710 r2711 116 116 117 117 for (short ii = 0; ii < numObs; ii++) { 118 t_obs* obs = new t_obs(); 118 t_obs obs; 119 obs.satSys = 'G'; 120 obs.satNum = _GPSTrans.DecObs.Obs[ii].sat_prn; 121 obs.GPSWeek = _GPSTrans.DecObs.Obs[ii].GPSTime / (7 * 86400); 122 obs.GPSWeeks = _GPSTrans.DecObs.Obs[ii].GPSTime % (7 * 86400); 123 obs.C1 = _GPSTrans.DecObs.Obs[ii].l1_pseudo_range; 124 obs.P1 = _GPSTrans.DecObs.Obs[ii].p1_pseudo_range; 125 obs.P2 = _GPSTrans.DecObs.Obs[ii].p2_pseudo_range; 126 obs.L1P = _GPSTrans.DecObs.Obs[ii].p1_phase; 127 obs.L2P = _GPSTrans.DecObs.Obs[ii].p2_phase; 128 obs.S1P = _GPSTrans.DecObs.Obs[ii].l1_sn; 129 obs.S2P = _GPSTrans.DecObs.Obs[ii].l2_sn; 119 130 _obsList.push_back(obs); 120 obs->satSys = 'G';121 obs->satNum = _GPSTrans.DecObs.Obs[ii].sat_prn;122 obs->GPSWeek = _GPSTrans.DecObs.Obs[ii].GPSTime / (7 * 86400);123 obs->GPSWeeks = _GPSTrans.DecObs.Obs[ii].GPSTime % (7 * 86400);124 obs->C1 = _GPSTrans.DecObs.Obs[ii].l1_pseudo_range;125 obs->P1 = _GPSTrans.DecObs.Obs[ii].p1_pseudo_range;126 obs->P2 = _GPSTrans.DecObs.Obs[ii].p2_pseudo_range;127 obs->L1P = _GPSTrans.DecObs.Obs[ii].p1_phase;128 obs->L2P = _GPSTrans.DecObs.Obs[ii].p2_phase;129 obs->S1P = _GPSTrans.DecObs.Obs[ii].l1_sn;130 obs->S2P = _GPSTrans.DecObs.Obs[ii].l2_sn;131 131 } 132 132 }
Note:
See TracChangeset
for help on using the changeset viewer.