Changeset 8419 in ntrip for trunk/BNC


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

minor changes to exclude unhealthy satellites from satellite coordinates determination

File:
1 edited

Legend:

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

    r8410 r8419  
    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  }
     
    903906t_irc t_ephGal::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    904907
    905   if (_checkState == bad) {
     908  if (_checkState == bad ||
     909      _checkState == unhealthy) {
    906910    return failure;
    907911  }
     
    12841288t_irc t_ephSBAS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    12851289
    1286   if (_checkState == bad) {
     1290  if (_checkState == bad ||
     1291      _checkState == unhealthy) {
    12871292    return failure;
    12881293  }
     
    14961501t_irc t_ephBDS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {
    14971502
    1498   if (_checkState == bad) {
     1503  if (_checkState == bad ||
     1504      _checkState == unhealthy) {
    14991505    return failure;
    15001506  }
     
    16661672//////////////////////////////////////////////////////////////////////////////
    16671673QString t_ephBDS::toString(double version) const {
    1668 IOD();
     1674
    16691675  QString rnxStr = rinexDateStr(_TOC-14.0, _prn, version);
    16701676
Note: See TracChangeset for help on using the changeset viewer.