Changeset 3309 in ntrip


Ignore:
Timestamp:
Jun 21, 2011, 6:16:40 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3308 r3309  
    477477// Prediction Step of the Filter
    478478////////////////////////////////////////////////////////////////////////////
    479 void bncModel::predict(t_epoData* epoData) {
     479void bncModel::predict(int iPhase, t_epoData* epoData) {
    480480
    481481  bncSettings settings;
     
    919919// Outlier Detection
    920920////////////////////////////////////////////////////////////////////////////
    921 int bncModel::outlierDetection(int phase, const SymmetricMatrix& QQsav,
     921int bncModel::outlierDetection(int iPhase, const SymmetricMatrix& QQsav,
    922922                               const ColumnVector& vv,
    923923                               QMap<QString, t_satData*>& satDataGPS,
     
    935935  int irc = 0;
    936936
    937   if (phase == 0) {
     937  if (iPhase == 0) {
    938938
    939939    // Check GPS Code
     
    963963
    964964  else {
     965
    965966    // Check Glonass Phase
    966967    // -------------------
     
    11831184//
    11841185///////////////////////////////////////////////////////////////////////////
    1185 void bncModel::addObs(int phase, unsigned& iObs, t_satData* satData,
     1186void bncModel::addObs(int iPhase, unsigned& iObs, t_satData* satData,
    11861187                      Matrix& AA, ColumnVector& ll, DiagonalMatrix& PP) {
    11871188
    11881189  // Phase Observations
    11891190  // ------------------
    1190   if (phase == 1) {
     1191  if (iPhase == 1) {
    11911192    ++iObs;
    11921193    ll(iObs)      = satData->L3 - cmpValue(satData, true);
     
    12171218//
    12181219///////////////////////////////////////////////////////////////////////////
    1219 void bncModel::printRes(int phase, const ColumnVector& vv,
     1220void bncModel::printRes(int iPhase, const ColumnVector& vv,
    12201221                        ostringstream& str, t_satData* satData) {
    1221   if (phase) {
     1222  if (iPhase == 1) {
    12221223    str << _time.timestr(1)
    12231224        << " RES " << satData->prn.toAscii().data() << "   L3 "
     
    12701271    do {
    12711272
     1273      // Bancroft Solution
     1274      // -----------------
    12721275      if (iPhase == 0) {     
    1273 
    1274         // Bancroft Solution
    1275         // -----------------
    12761276        if (cmpBancroft(epoData) != success) {
    12771277          emit newMessage(_log, false);
     
    12821282      // Status Prediction
    12831283      // -----------------
    1284       predict(epoData);
     1284      predict(iPhase, epoData);
    12851285     
    12861286      // Create First-Design Matrix
  • trunk/BNC/bncmodel.h

    r3308 r3309  
    9696  void   cmpEle(t_satData* satData);
    9797  void   addAmb(t_satData* satData);
    98   void   addObs(int phase, unsigned& iObs, t_satData* satData,
     98  void   addObs(int iPhase, unsigned& iObs, t_satData* satData,
    9999                Matrix& AA, ColumnVector& ll, DiagonalMatrix& PP);
    100   void   printRes(int phase, const ColumnVector& vv,
     100  void   printRes(int iPhase, const ColumnVector& vv,
    101101                  std::ostringstream& str, t_satData* satData);
    102102  void   findMaxRes(const ColumnVector& vv,
     
    106106  double cmpValue(t_satData* satData, bool phase);
    107107  double delay_saast(double Ele);
    108   void   predict(t_epoData* epoData);
     108  void   predict(int iPhase, t_epoData* epoData);
    109109  t_irc  update_p(t_epoData* epoData, ColumnVector& dx);
    110   int    outlierDetection(int phase, const SymmetricMatrix& QQsav,
     110  int    outlierDetection(int iPhase, const SymmetricMatrix& QQsav,
    111111                          const ColumnVector& vv,
    112112                          QMap<QString, t_satData*>& satDataGPS,
Note: See TracChangeset for help on using the changeset viewer.