Changeset 627 in ntrip for trunk/BNC/RTCM3
- Timestamp:
- Dec 16, 2007, 6:05:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r622 r627 112 112 for (int ii = 0; ii < _Parser.Data.numsats; ii++) { 113 113 p_obs obs = new t_obs(); 114 _obsList.push_back(obs); 114 115 if (_Parser.Data.satellites[ii] <= PRN_GPS_END) { 115 116 obs->_o.satSys = 'G'; … … 145 146 } 146 147 } 147 if(!v) 148 { continue; } 149 else 150 { 151 if (_Parser.dataflag[jj] & GNSSDF_C1DATA) { 152 obs->_o.C1 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 153 } 154 else if (_Parser.dataflag[jj] & GNSSDF_C2DATA) { 155 obs->_o.C2 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 156 } 157 else if (_Parser.dataflag[jj] & GNSSDF_P1DATA) { 158 obs->_o.P1 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 159 } 160 else if (_Parser.dataflag[jj] & GNSSDF_P2DATA) { 161 obs->_o.P2 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 162 } 163 else if (df & (GNSSDF_L1CDATA|GNSSDF_L1PDATA)) { 164 obs->_o.L1 = _Parser.Data.measdata[ii][pos]; 165 obs->_o.SNR1 = _Parser.Data.snrL1[ii]; 166 } 167 else if (df & (GNSSDF_L2CDATA|GNSSDF_L2PDATA)) { 168 obs->_o.L2 = _Parser.Data.measdata[ii][pos]; 169 obs->_o.SNR2 = _Parser.Data.snrL2[ii]; 170 } 171 else if (df & (GNSSDF_S1CDATA|GNSSDF_S1PDATA)) { 172 obs->_o.S1 = _Parser.Data.measdata[ii][pos]; 173 } 174 else if (df & (GNSSDF_S2CDATA|GNSSDF_S2PDATA)) { 175 obs->_o.S2 = _Parser.Data.measdata[ii][pos]; 148 if (!v) { 149 continue; 150 } 151 else 152 { 153 if (_Parser.dataflag[jj] & GNSSDF_C1DATA) { 154 obs->_o.C1 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 155 } 156 else if (_Parser.dataflag[jj] & GNSSDF_C2DATA) { 157 obs->_o.C2 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 158 } 159 else if (_Parser.dataflag[jj] & GNSSDF_P1DATA) { 160 obs->_o.P1 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 161 } 162 else if (_Parser.dataflag[jj] & GNSSDF_P2DATA) { 163 obs->_o.P2 = _Parser.Data.measdata[ii][_Parser.datapos[jj]]; 164 } 165 else if (df & (GNSSDF_L1CDATA|GNSSDF_L1PDATA)) { 166 obs->_o.L1 = _Parser.Data.measdata[ii][pos]; 167 obs->_o.SNR1 = _Parser.Data.snrL1[ii]; 168 } 169 else if (df & (GNSSDF_L2CDATA|GNSSDF_L2PDATA)) { 170 obs->_o.L2 = _Parser.Data.measdata[ii][pos]; 171 obs->_o.SNR2 = _Parser.Data.snrL2[ii]; 172 } 173 else if (df & (GNSSDF_S1CDATA|GNSSDF_S1PDATA)) { 174 obs->_o.S1 = _Parser.Data.measdata[ii][pos]; 175 } 176 else if (df & (GNSSDF_S2CDATA|GNSSDF_S2PDATA)) { 177 obs->_o.S2 = _Parser.Data.measdata[ii][pos]; 178 } 176 179 } 177 180 } 178 }179 _obsList.push_back(obs);180 181 } 181 182 }
Note:
See TracChangeset
for help on using the changeset viewer.