Changeset 627 in ntrip
- Timestamp:
- Dec 16, 2007, 6:05:06 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/RTCM2Decoder.cpp
r622 r627 87 87 for (int iSat=0; iSat < _ObsBlock.nSat; iSat++) { 88 88 p_obs obs = new t_obs(); 89 _obsList.push_back(obs); 89 90 if (_ObsBlock.PRN[iSat] > 100) { 90 91 obs->_o.satNum = _ObsBlock.PRN[iSat] % 100; … … 102 103 obs->_o.L1 = _ObsBlock.resolvedPhase_L1(iSat); 103 104 obs->_o.L2 = _ObsBlock.resolvedPhase_L2(iSat); 104 105 _obsList.push_back(obs);106 105 } 107 106 _ObsBlock.clear(); -
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 } -
trunk/BNC/RTIGS/RTIGSDecoder.cpp
r622 r627 105 105 for (short ii = 0; ii < numObs; ii++) { 106 106 p_obs obs = new t_obs(); 107 _obsList.push_back(obs); 107 108 obs->_o.satSys = 'G'; 108 109 obs->_o.satNum = _GPSTrans.DecObs.Obs[ii].sat_prn; … … 118 119 obs->_o.SNR1 = int(ceil(_GPSTrans.DecObs.Obs[ii].l1_sn / 60.0 * 9.0)); 119 120 obs->_o.SNR2 = int(ceil(_GPSTrans.DecObs.Obs[ii].l2_sn / 60.0 * 9.0)); 120 121 _obsList.push_back(obs);122 121 } 123 122 } -
trunk/BNC/run_valgrind
r620 r627 2 2 if [ "$1" == "start" ] 3 3 then 4 valgrind --leak-check=full --show-reachable=yes./bnc -nw 2> valgrind.txt &4 valgrind --leak-check=full ./bnc -nw 2> valgrind.txt & 5 5 elif [ "$1" == "stop" ] 6 6 then -
trunk/BNC/test_bnc_qt.cpp
r601 r627 85 85 // Receive Data 86 86 // ------------ 87 Observationobs;87 t_obsInternal obs; 88 88 char flag = ' '; 89 89 cout.setf(ios::showpoint | ios::fixed);
Note:
See TracChangeset
for help on using the changeset viewer.