Changeset 8417 in ntrip for trunk/BNC/src/bncutils.cpp


Ignore:
Timestamp:
Jul 13, 2018, 1:14:18 PM (6 years ago)
Author:
stuerze
Message:

some changes to allow 10 Hz observation data real-time processing

File:
1 edited

Legend:

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

    r8203 r8417  
    251251bool checkForWrongObsEpoch(bncTime obsEpoch) {
    252252  const double maxDt = 600.0;
    253   long iSec    = long(floor(obsEpoch.gpssec()+0.5));
    254   long obsTime = obsEpoch.gpsw()*7*24*3600 + iSec;
     253  bncTime obsTime = obsEpoch;
    255254  int    week;
    256255  double sec;
    257256  currentGPSWeeks(week, sec);
    258   long currTime = week * 7*24*3600 + long(sec);
     257  bncTime currTime(week, sec);
    259258
    260259  if (fabs(currTime - obsTime) > maxDt) {
     
    575574  const ColumnVector& yi, // vector of the initial y-values
    576575  double dx,              // the step size for the integration
    577   double* acc,            // aditional acceleration
     576  double* acc,            // additional acceleration
    578577  ColumnVector (*der)(double x, const ColumnVector& y, double* acc)
    579578                          // A pointer to a function that computes the
Note: See TracChangeset for help on using the changeset viewer.