Changeset 8615 in ntrip


Ignore:
Timestamp:
Feb 28, 2019, 11:30:15 AM (6 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/ephemeris.cpp

    r8583 r8615  
    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
     
    912903t_irc t_ephGal::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    913904
    914   if (_checkState == bad ||
    915       _checkState == unhealthy) {
    916     return failure;
    917   }
    918 
    919905  static const double omegaEarth = 7292115.1467e-11;
    920906  static const double gmWGS = 398.6004418e12;
     
    12951281////////////////////////////////////////////////////////////////////////////
    12961282t_irc t_ephSBAS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    1297 
    1298   if (_checkState == bad ||
    1299       _checkState == unhealthy) {
    1300     return failure;
    1301   }
    13021283
    13031284  bncTime tt(GPSweek, GPSweeks);
     
    15391520t_irc t_ephBDS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    15401521
    1541   if (_checkState == bad ||
    1542       _checkState == unhealthy) {
    1543     return failure;
    1544   }
    1545 
    15461522  static const double gmBDS    = 398.6004418e12;
    15471523  static const double omegaBDS = 7292115.0000e-11;
Note: See TracChangeset for help on using the changeset viewer.