Changeset 2894 in ntrip for trunk/BNC/bncmodel.cpp


Ignore:
Timestamp:
Jan 26, 2011, 4:55:35 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2893 r2894  
    267267      _antex = 0;
    268268    }
     269    _antennaName = settings.value("pppAntenna").toString();
    269270  }
    270271
     
    386387  }
    387388
    388   return satData->rho + clk() + offset - satData->clk + tropDelay + wind;
     389  double phaseCenter = 0.0;
     390  if (_antex) {
     391    phaseCenter = _antex->pco(_antennaName, satData->eleSat);
     392  }
     393
     394  return satData->rho + phaseCenter + clk()
     395                      + offset - satData->clk + tropDelay + wind;
    389396}
    390397
Note: See TracChangeset for help on using the changeset viewer.