updated rtabmap.launch

This commit is contained in:
matlabbe
2016-03-17 14:41:35 -04:00
parent a91a0e0dc8
commit 91c83cc396
5 changed files with 10 additions and 6 deletions
+2 -1
View File
@@ -726,7 +726,8 @@ Transform CoreWrapper::getTransform(const std::string & fromFrameId, const std::
//if(!tfBuffer_.canTransform(fromFrameId, toFrameId, stamp, ros::Duration(1)))
if(!tfListener_.waitForTransform(fromFrameId, toFrameId, stamp, ros::Duration(waitForTransformDuration_)))
{
ROS_WARN("rtabmap: Could not get transform from %s to %s after %f second!", fromFrameId.c_str(), toFrameId.c_str(), waitForTransformDuration_);
ROS_WARN("rtabmap: Could not get transform from %s to %s after %f seconds (for stamp=%f)!",
fromFrameId.c_str(), toFrameId.c_str(), waitForTransformDuration_, stamp.toSec());
return transform;
}
}