Skip to content
Snippets Groups Projects

Resolve "Problem::getState(structure) doesn't care about structure"

3 files
+ 114
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -60,7 +60,7 @@ bool CaptureMotion::containsTimeStamp (const TimeStamp& _ts, double _time_tolera
@@ -60,7 +60,7 @@ bool CaptureMotion::containsTimeStamp (const TimeStamp& _ts, double _time_tolera
// buffer encloses timestamp, if ts is:
// buffer encloses timestamp, if ts is:
// from : origin.tx + tt not included
// from : origin.tx + tt not included
// to : capture.ts + tt included
// to : capture.ts + tt included
if (this->getOriginCapture()->getTimeStamp() +_time_tolerance < _ts and _ts <= this->getBuffer().back().ts_ + _time_tolerance)
if (this->getOriginCapture()->getTimeStamp() + _time_tolerance < _ts and _ts <= this->getBuffer().back().ts_ + _time_tolerance)
return true;
return true;
// not found anywhere
// not found anywhere
Loading