Skip to content
Snippets Groups Projects
Commit 6f44451c authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Update processor_inertial_kinematics.cpp

parent 484cecfd
No related branches found
No related tags found
3 merge requests!18Release after RAL,!17After 2nd RAL submission,!16Resolve "Follow core 420"
...@@ -77,7 +77,7 @@ inline void ProcessorInertialKinematics::processCapture(CaptureBasePtr _capture) ...@@ -77,7 +77,7 @@ inline void ProcessorInertialKinematics::processCapture(CaptureBasePtr _capture)
&& (buffer_capture_it != buffer_capture_.getContainer().end())) && (buffer_capture_it != buffer_capture_.getContainer().end()))
{ {
bool time_ok = buffer_capture_.simpleCheckTimeTolerance(buffer_frame_it->first, buffer_capture_it->first, getTimeTolerance()); bool time_ok = checkTimeTolerance(buffer_frame_it->first, buffer_capture_it->first);
if (time_ok) { if (time_ok) {
CaptureBasePtr cap_angvel = buffer_frame_it->second->getCaptureOf(sensor_angvel); CaptureBasePtr cap_angvel = buffer_frame_it->second->getCaptureOf(sensor_angvel);
auto min_ts = (buffer_frame_it->first < buffer_capture_it->first) ? buffer_frame_it->first : buffer_capture_it->first; auto min_ts = (buffer_frame_it->first < buffer_capture_it->first) ? buffer_frame_it->first : buffer_capture_it->first;
......
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