mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-11 12:09:51 +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() ||
|
if( rgbStamp != image->header.stamp.toSec() ||
|
||||||
depthStamp != imageDepth->header.stamp.toSec() ||
|
depthStamp != imageDepth->header.stamp.toSec())
|
||||||
infoStamp != camInfo->header.stamp.toSec())
|
|
||||||
{
|
{
|
||||||
NODELET_ERROR("Input stamps changed between the beginning and the end of the callback! Make "
|
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 "
|
"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: "
|
"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(),
|
rgbStamp, image->header.stamp.toSec(),
|
||||||
depthStamp, imageDepth->header.stamp.toSec(),
|
depthStamp, imageDepth->header.stamp.toSec());
|
||||||
infoStamp, camInfo->header.stamp.toSec());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -211,18 +211,14 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( leftStamp != imageLeft->header.stamp.toSec() ||
|
if( leftStamp != imageLeft->header.stamp.toSec() ||
|
||||||
rightStamp != imageRight->header.stamp.toSec() ||
|
rightStamp != imageRight->header.stamp.toSec())
|
||||||
leftInfoStamp != cameraInfoLeft->header.stamp.toSec() ||
|
|
||||||
rightInfoStamp != cameraInfoRight->header.stamp.toSec())
|
|
||||||
{
|
{
|
||||||
NODELET_ERROR("Input stamps changed between the beginning and the end of the callback! Make "
|
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 "
|
"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: "
|
"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(),
|
leftStamp, imageLeft->header.stamp.toSec(),
|
||||||
rightStamp, imageRight->header.stamp.toSec(),
|
rightStamp, imageRight->header.stamp.toSec());
|
||||||
leftInfoStamp, cameraInfoLeft->header.stamp.toSec(),
|
|
||||||
rightInfoStamp, cameraInfoRight->header.stamp.toSec());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,18 +229,14 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( leftStamp != imageLeft->header.stamp.toSec() ||
|
if( leftStamp != imageLeft->header.stamp.toSec() ||
|
||||||
rightStamp != imageRight->header.stamp.toSec() ||
|
rightStamp != imageRight->header.stamp.toSec())
|
||||||
leftInfoStamp != camInfoLeft->header.stamp.toSec() ||
|
|
||||||
rightInfoStamp != camInfoRight->header.stamp.toSec())
|
|
||||||
{
|
{
|
||||||
NODELET_ERROR("Input stamps changed between the beginning and the end of the callback! Make "
|
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 "
|
"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: "
|
"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(),
|
leftStamp, imageLeft->header.stamp.toSec(),
|
||||||
rightStamp, imageRight->header.stamp.toSec(),
|
rightStamp, imageRight->header.stamp.toSec());
|
||||||
leftInfoStamp, camInfoLeft->header.stamp.toSec(),
|
|
||||||
rightInfoStamp, camInfoRight->header.stamp.toSec());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user