Ignore:
Timestamp:
Nov 12, 2020, 11:49:23 AM (3 years ago)
Author:
stuerze
Message:

another check is added, to prevent the usage of not updated nav data sets during ssr upload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp

    r9206 r9249  
    2222#include "bncsp3.h"
    2323#include "gnss.h"
     24#include "bncutils.h"
    2425
    2526using namespace std;
     
    384385  for (int ii = 1; ii < lines.size(); ii++) {
    385386    QString key;  // prn or key VTEC, IND (phase bias indicators)
    386     double rtnUra = 0.0;    // [m]
     387    double rtnUra = 0.0; // [m]
    387388    ColumnVector rtnAPC; rtnAPC.ReSize(3); rtnAPC = 0.0;          // [m, m, m]
    388389    ColumnVector rtnVel; rtnVel.ReSize(3); rtnVel = 0.0;          // [m/s, m/s, m/s]
     
    467468    }
    468469
    469     if (eph  &&
    470         eph->checkState() != t_eph::bad &&
     470    if (eph  &&  !outDatedBcep(eph)           &&  // detected from storage because of no update
     471        eph->checkState() != t_eph::bad       &&
    471472        eph->checkState() != t_eph::unhealthy &&
    472         eph->checkState() != t_eph::outdated) {
     473        eph->checkState() != t_eph::outdated) {  // detected during reception (bncephuser)
    473474      QMap<QString, double> codeBiases;
    474475      QList<phaseBiasSignal> phaseBiasList;
     
    926927
    927928  _outBuffer += hlpBufferCo + hlpBufferBias + hlpBufferPhaseBias
    928       + hlpBufferVtec + '\0';;
     929      + hlpBufferVtec + '\0';
    929930}
    930931
Note: See TracChangeset for help on using the changeset viewer.