Changeset 4797 in ntrip
- Timestamp:
- Nov 1, 2012, 10:03:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTRover/bncrtrover.cpp
r4795 r4797 209 209 int numBiases = 0; 210 210 211 rtrover_orbCorr 212 rtrover_clkCorr 213 rtrover_ codeBiases biases[corrList.size()];211 rtrover_orbCorr orbCorr[corrList.size()]; 212 rtrover_clkCorr clkCorr[corrList.size()]; 213 rtrover_satBiases biases[corrList.size()]; 214 214 215 215 QListIterator<QString> it(corrList); … … 272 272 if (bias.readLine(line) == success) { 273 273 ++numBiases; 274 rtrover_ codeBiases& codeBiases = biases[numBiases-1];275 codeBiases._satellite._system = bias._prn.toAscii()[0];276 codeBiases._satellite._number = bias._prn.mid(1).toInt();277 codeBiases._time._mjd = bias._time.mjd();278 codeBiases._time._sec = bias._time.daysec();279 codeBiases._numBiases = bias._value.size();280 codeBiases._biases = new rtrover_bias[codeBiases._numBiases];274 rtrover_satBiases& satBiases = biases[numBiases-1]; 275 satBiases._satellite._system = bias._prn.toAscii()[0]; 276 satBiases._satellite._number = bias._prn.mid(1).toInt(); 277 satBiases._time._mjd = bias._time.mjd(); 278 satBiases._time._sec = bias._time.daysec(); 279 satBiases._numBiases = bias._value.size(); 280 satBiases._biases = new rtrover_bias[satBiases._numBiases]; 281 281 int iBias = -1; 282 282 QMapIterator<QByteArray, double> it(bias._value); … … 284 284 it.next(); 285 285 ++iBias; 286 rtrover_bias& singleBias = codeBiases._biases[iBias];286 rtrover_bias& singleBias = satBiases._biases[iBias]; 287 287 singleBias._rnxType[0] = it.key()[0]; 288 288 singleBias._rnxType[1] = it.key()[1];
Note:
See TracChangeset
for help on using the changeset viewer.