diff --git a/src/processor/motion_buffer.cpp b/src/processor/motion_buffer.cpp index 5735441cb55404882bf9cd32c712a843daa61324..37f840a505c86754b6e6a4d865a45e441d6feac1 100644 --- a/src/processor/motion_buffer.cpp +++ b/src/processor/motion_buffer.cpp @@ -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_);