rgbd_sync: removed error log when only the camera_info stamp changed

This commit is contained in:
matlabbe
2019-04-10 17:42:49 -04:00
parent c8449dff2e
commit 8df7157d84
+3 -5
View File
@@ -228,16 +228,14 @@ private:
} }
if( rgbStamp != image->header.stamp.toSec() || if( rgbStamp != image->header.stamp.toSec() ||
depthStamp != depth->header.stamp.toSec() || depthStamp != depth->header.stamp.toSec())
infoStamp != cameraInfo->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, depth->header.stamp.toSec(), depthStamp, depth->header.stamp.toSec());
infoStamp, cameraInfo->header.stamp.toSec());
} }
} }
} }