mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
removed camera_info stamp check for sync and throttle nodes
This commit is contained in:
@@ -203,16 +203,14 @@ private:
|
||||
}
|
||||
|
||||
if( rgbStamp != image->header.stamp.toSec() ||
|
||||
depthStamp != imageDepth->header.stamp.toSec() ||
|
||||
infoStamp != camInfo->header.stamp.toSec())
|
||||
depthStamp != imageDepth->header.stamp.toSec())
|
||||
{
|
||||
NODELET_ERROR("Input stamps changed between the beginning and the end of the callback! Make "
|
||||
"sure the node publishing the topics doesn't override the same data after publishing them. A "
|
||||
"solution is to use this node within another nodelet manager. Stamps: "
|
||||
"rgb=%f->%f depth=%f->%f info=%f->%f",
|
||||
"rgb=%f->%f depth=%f->%f",
|
||||
rgbStamp, image->header.stamp.toSec(),
|
||||
depthStamp, imageDepth->header.stamp.toSec(),
|
||||
infoStamp, camInfo->header.stamp.toSec());
|
||||
depthStamp, imageDepth->header.stamp.toSec());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -211,18 +211,14 @@ private:
|
||||
}
|
||||
|
||||
if( leftStamp != imageLeft->header.stamp.toSec() ||
|
||||
rightStamp != imageRight->header.stamp.toSec() ||
|
||||
leftInfoStamp != cameraInfoLeft->header.stamp.toSec() ||
|
||||
rightInfoStamp != cameraInfoRight->header.stamp.toSec())
|
||||
rightStamp != imageRight->header.stamp.toSec())
|
||||
{
|
||||
NODELET_ERROR("Input stamps changed between the beginning and the end of the callback! Make "
|
||||
"sure the node publishing the topics doesn't override the same data after publishing them. A "
|
||||
"solution is to use this node within another nodelet manager. Stamps: "
|
||||
"left%f->%f right=%f->%f info_left=%f->%f info_right=%f->%f",
|
||||
"left%f->%f right=%f->%f",
|
||||
leftStamp, imageLeft->header.stamp.toSec(),
|
||||
rightStamp, imageRight->header.stamp.toSec(),
|
||||
leftInfoStamp, cameraInfoLeft->header.stamp.toSec(),
|
||||
rightInfoStamp, cameraInfoRight->header.stamp.toSec());
|
||||
rightStamp, imageRight->header.stamp.toSec());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,18 +229,14 @@ private:
|
||||
}
|
||||
|
||||
if( leftStamp != imageLeft->header.stamp.toSec() ||
|
||||
rightStamp != imageRight->header.stamp.toSec() ||
|
||||
leftInfoStamp != camInfoLeft->header.stamp.toSec() ||
|
||||
rightInfoStamp != camInfoRight->header.stamp.toSec())
|
||||
rightStamp != imageRight->header.stamp.toSec())
|
||||
{
|
||||
NODELET_ERROR("Input stamps changed between the beginning and the end of the callback! Make "
|
||||
"sure the node publishing the topics doesn't override the same data after publishing them. A "
|
||||
"solution is to use this node within another nodelet manager. Stamps: "
|
||||
"left%f->%f right=%f->%f info_left=%f->%f info_right=%f->%f",
|
||||
"left%f->%f right=%f->%f",
|
||||
leftStamp, imageLeft->header.stamp.toSec(),
|
||||
rightStamp, imageRight->header.stamp.toSec(),
|
||||
leftInfoStamp, camInfoLeft->header.stamp.toSec(),
|
||||
rightInfoStamp, camInfoRight->header.stamp.toSec());
|
||||
rightStamp, imageRight->header.stamp.toSec());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user