Changeset 4797 in ntrip


Ignore:
Timestamp:
Nov 1, 2012, 10:03:47 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTRover/bncrtrover.cpp

    r4795 r4797  
    209209  int numBiases  = 0;
    210210
    211   rtrover_orbCorr    orbCorr[corrList.size()];
    212   rtrover_clkCorr    clkCorr[corrList.size()];
    213   rtrover_codeBiases biases[corrList.size()];
     211  rtrover_orbCorr   orbCorr[corrList.size()];
     212  rtrover_clkCorr   clkCorr[corrList.size()];
     213  rtrover_satBiases biases[corrList.size()];
    214214
    215215  QListIterator<QString> it(corrList);
     
    272272    if (bias.readLine(line) == success) {
    273273      ++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];
    281281      int iBias = -1;
    282282      QMapIterator<QByteArray, double> it(bias._value);
     
    284284        it.next();
    285285        ++iBias;
    286         rtrover_bias& singleBias = codeBiases._biases[iBias];
     286        rtrover_bias& singleBias = satBiases._biases[iBias];
    287287        singleBias._rnxType[0] = it.key()[0];
    288288        singleBias._rnxType[1] = it.key()[1];
Note: See TracChangeset for help on using the changeset viewer.