ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sometimes it takes a few milliseconds for a transform to become available. Maybe a listener.waitForTransform("/local_laser", "/world", laserscan.header.stamp, ros::Duration(3.0)); would help. Please have a look at the tf tutorial: "3. Wait for transforms".

Sometimes it takes a few milliseconds for a transform to become available. Maybe a listener.waitForTransform("/local_laser", "/world", laserscan.header.stamp, ros::Duration(3.0)); would help. Please have a look at the tf tutorial: "3. Wait for transforms".

If the error still persists, could you please post the code where you do the transform?