Changeset 8618 in ntrip for trunk/BNC


Ignore:
Timestamp:
Feb 28, 2019, 2:47:10 PM (5 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.cpp

    r8584 r8618  
    5858
    5959  if (_checkState == bad ||
    60       _checkState == unhealthy) {
     60      _checkState == unhealthy ||
     61      _checkState == outdated) {
    6162    return failure;
    6263  }
     
    311312////////////////////////////////////////////////////////////////////////////
    312313t_irc t_ephGPS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    313 
    314   if (_checkState == bad ||
    315       _checkState == unhealthy) {
    316     return failure;
    317   }
    318314
    319315  static const double omegaEarth = 7292115.1467e-11;
     
    610606t_irc t_ephGlo::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    611607
    612   if (_checkState == bad ||
    613       _checkState == unhealthy) {
    614     return failure;
    615   }
    616 
    617608  static const double nominalStep = 10.0;
    618609
     
    913904t_irc t_ephGal::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    914905
    915   if (_checkState == bad ||
    916       _checkState == unhealthy) {
    917     return failure;
    918   }
    919 
    920906  static const double omegaEarth = 7292115.1467e-11;
    921907  static const double gmWGS = 398.6004418e12;
     
    12981284t_irc t_ephSBAS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    12991285
    1300   if (_checkState == bad ||
    1301       _checkState == unhealthy) {
    1302     return failure;
    1303   }
    1304 
    13051286  bncTime tt(GPSweek, GPSweeks);
    13061287  double  dt = tt - _TOC;
     
    15131494//////////////////////////////////////////////////////////////////////////////
    15141495t_irc t_ephBDS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    1515 
    1516   if (_checkState == bad ||
    1517       _checkState == unhealthy) {
    1518     return failure;
    1519   }
    1520 
    15211496
    15221497  static const double gmBDS    = 398.6004418e12;
Note: See TracChangeset for help on using the changeset viewer.