Skip to content
Snippets Groups Projects

Resolve "ProcessorMotion KFcallback with recent TimeStamp"

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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