Changeset 3287 in ntrip


Ignore:
Timestamp:
May 24, 2011, 11:27:22 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3286 r3287  
    425425  double antennaOffset = 0.0;
    426426  if (_dN != 0.0 || _dE != 0.0 || _dU != 0.0) {
    427 
     427    double cosa = cos(satData->azSat);
     428    double sina = sin(satData->azSat);
     429    double cose = cos(satData->eleSat);
     430    double sine = sin(satData->eleSat);
     431    antennaOffset = -_dN * cosa*cose - _dE * sina*cose - _dU * sine;
    428432  }
    429433
Note: See TracChangeset for help on using the changeset viewer.