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

plc/PassThrough: Unable to lookup, cache is empty?

asked 2012-08-03 03:13:58 -0500

liborw gravatar image

Hi,

I have a problem converting a point cloud form one frame to another using plc/PassThrough filter. The problem, it seems, is that the PassThrough filter is too fast for lookup cache to fill. How can I make the filter to wait awhile for the cache to fill?

Thanks

The error message is:

[ERROR] [1343999032.826366155]: Unable to lookup transform, cache is empty, when looking up     transform from frame [/camera_depth_optical_frame] to frame [/base_link]
[ERROR] [1343999032.826482353]: [/cloud_to_baselink::computePublish] Error converting output dataset from /camera_depth_optical_frame to base_link.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-10-21 12:26:49 -0500

tfoote gravatar image

Do you construct your TransformListener before the call and does it persist to allow it to build up it's cache? If so, do you also probably need to be robust to the cache not being full the first time, and need to let it retry for a couple cycles to let the cache fill up.

You might also want to look at using a tf::MessageFilter to hold data until transforms are available.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-03 03:13:58 -0500

Seen: 520 times

Last updated: Oct 21 '12