Changeset 8420 in ntrip for branches/BNC_2.12/src


Ignore:
Timestamp:
Jul 13, 2018, 2:30:16 PM (6 years ago)
Author:
stuerze
Message:

minor changes to exclude unhealthy satellites from satellite coordinates determination

File:
1 edited

Legend:

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

    r8370 r8420  
    5757t_irc t_eph::getCrd(const bncTime& tt, ColumnVector& xc, ColumnVector& vv, bool useCorr) const {
    5858
    59   if (_checkState == bad) {
     59  if (_checkState == bad ||
     60      _checkState == unhealthy) {
    6061    return failure;
    6162  }
     
    311312t_irc t_ephGPS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    312313
    313   if (_checkState == bad) {
     314  if (_checkState == bad ||
     315      _checkState == unhealthy) {
    314316    return failure;
    315317  }
     
    605607t_irc t_ephGlo::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    606608
    607   if (_checkState == bad) {
     609  if (_checkState == bad ||
     610      _checkState == unhealthy) {
    608611    return failure;
    609612  }
     
    902905t_irc t_ephGal::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    903906
    904   if (_checkState == bad) {
     907  if (_checkState == bad ||
     908      _checkState == unhealthy) {
    905909    return failure;
    906910  }
     
    12821286t_irc t_ephSBAS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    12831287
    1284   if (_checkState == bad) {
     1288  if (_checkState == bad ||
     1289      _checkState == unhealthy) {
    12851290    return failure;
    12861291  }
     
    15211526t_irc t_ephBDS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    15221527
    1523   if (_checkState == bad) {
     1528  if (_checkState == bad ||
     1529      _checkState == unhealthy) {
    15241530    return failure;
    15251531  }
Note: See TracChangeset for help on using the changeset viewer.