Changeset 3496 in ntrip


Ignore:
Timestamp:
Nov 6, 2011, 10:25:32 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncephuser.cpp

    r3492 r3496  
    217217  else if ( messageType == COTYPE_GPSHR    ||
    218218            messageType == COTYPE_GLONASSHR ) {
    219     // if (!dClkSet) {
    220     //   return failure;
    221     // }
    222     // else {
    223     //   int dummyIOD;
    224     //   double diff_dClk = 0.0;
    225     //   in >> dummyIOD >> diff_dClk;
    226     //   dClk += diff_dClk / t_CST::c;
    227     // }
     219    int dummyIOD;
     220    in >> dummyIOD >> hrClk;
     221    hrClk /= t_CST::c;
    228222  }
    229223
  • trunk/BNC/bncephuser.h

    r3491 r3496  
    4343    dClkSet = false;
    4444    eph     = 0;
     45    hrClk   = 0.0;
    4546  }
    4647  bool ready() {return raoSet && dClkSet;}
     
    6566  double       dotDClk;
    6667  double       dotDotDClk;
     68  double       hrClk;
    6769  ColumnVector rao;
    6870  ColumnVector dotRao;
  • trunk/BNC/bncpppclient.cpp

    r3491 r3496  
    414414  xc[1] -= dx[1];
    415415  xc[2] -= dx[2];
    416   xc[3] += cc->dClk + cc->dotDClk * dt + cc->dotDotDClk * dt * dt;
     416  xc[3] += cc->dClk + cc->dotDClk * dt + cc->dotDotDClk * dt * dt
     417        + cc->hrClk;
    417418
    418419  return success;
Note: See TracChangeset for help on using the changeset viewer.