Skip to content
Snippets Groups Projects
Commit 2ff0efa1 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

fixed switched assertion texts

parent 5fa0b9fd
No related branches found
No related tags found
1 merge request!288Resolve "ProcessorMotion KFcallback with recent TimeStamp"
This commit is part of merge request !288. Comments created here will be created in the context of that merge request.
...@@ -107,8 +107,8 @@ void MotionBuffer::getMotion(const TimeStamp& _ts, Motion& _motion) const ...@@ -107,8 +107,8 @@ void MotionBuffer::getMotion(const TimeStamp& _ts, Motion& _motion) const
void MotionBuffer::split(const TimeStamp& _ts, MotionBuffer& _buffer_part_before_ts) 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_.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 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_); _buffer_part_before_ts.setCalibrationPreint(calib_preint_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment