Skip to content
Snippets Groups Projects

Resolve "ProcessorMotion KFcallback with recent TimeStamp"

2 files
+ 6
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -107,8 +107,8 @@ void MotionBuffer::getMotion(const TimeStamp& _ts, Motion& _motion) const
void MotionBuffer::split(const TimeStamp& _ts, MotionBuffer& _buffer_part_before_ts)
{
assert((container_.front().ts_ <= _ts) && "Error: Query time stamp is greater than the buffer's last tick");
assert((container_.back().ts_ >= _ts) && "Error: Query time stamp is smaller than the buffer's first tick");
assert((container_.front().ts_ <= _ts) && "Error: Query time stamp is smaller than the buffer's first tick");
assert((container_.back().ts_ >= _ts) && "Error: Query time stamp is greater than the buffer's last tick");
_buffer_part_before_ts.setCalibrationPreint(calib_preint_);
Loading