Changeset 6080 in ntrip for trunk


Ignore:
Timestamp:
Sep 7, 2014, 5:40:26 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP_free
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_free/bncpppclient.cpp

    r6079 r6080  
    9595    const t_satObs* obs     = satObs[ii];
    9696    t_satData*      satData = new t_satData();
     97
     98    if (_epoData->tt.undef()) {
     99      _epoData->tt = obs->_time;
     100    }
     101
    97102    satData->tt       = obs->_time;
    98103    satData->prn      = QString(obs->_prn.toString().c_str());
     
    180185      double a1 =   f1 * f1 / (f1 * f1 - f2 * f2);
    181186      double a2 = - f2 * f2 / (f1 * f1 - f2 * f2);
     187      satData->L1      = satData->L1 * t_CST::c / f1;
     188      satData->L2      = satData->L2 * t_CST::c / f2;
    182189      satData->P3      = a1 * satData->P1 + a2 * satData->P2;
    183190      satData->L3      = a1 * satData->L1 + a2 * satData->L2;
    184191      satData->lambda3 = a1 * t_CST::c / f1 + a2 * t_CST::c / f2;
    185192      _epoData->satData[satData->prn] = satData;
    186       _epoData->tt = satData->tt;
    187193    }
    188194    else {
     
    200206      double a1 =   f1 * f1 / (f1 * f1 - f5 * f5);
    201207      double a5 = - f5 * f5 / (f1 * f1 - f5 * f5);
     208      satData->L1      = satData->L1 * t_CST::c / f1;
     209      satData->L5      = satData->L5 * t_CST::c / f5;
    202210      satData->P3      = a1 * satData->P1 + a5 * satData->P5;
    203211      satData->L3      = a1 * satData->L1 + a5 * satData->L5;
    204212      satData->lambda3 = a1 * t_CST::c / f1 + a5 * t_CST::c / f5;
    205213      _epoData->satData[satData->prn] = satData;
    206       _epoData->tt = satData->tt;
    207214    }
    208215    else {
  • trunk/BNC/src/PPP_free/bncpppclient.h

    r6073 r6080  
    128128    }
    129129    satData.clear();
     130    tt.reset();
    130131  }
    131132
Note: See TracChangeset for help on using the changeset viewer.