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

The tf_tree and your class are separate processes and as such have different Buffers with independent timeouts. Thus as @gvdhoorn mentions changing one does not effect the other.

Often if you are having extrapolation errors on a high latency system the most likely issue is not that the buffer is not long enough, but that the data has not arrived. Unless you have network delays longer than 10 seconds. Then increasing your buffer length will help.

But assuming that's not the case you need to make sure that transforms are available when data arrives to be processed. There's a tool called the tf2::MessageFilter that will help with this. A tutorial is here