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 reason for this error is that your listener sometimes cannot catch the transform frame which you want for transformation due to latency issue in rate with which a broadcaster is publishing.There are two solutions to this problem

1.to create a timer for your callback listener with litlle more duration as compared to what you were using before. 2.other way is to use the lookupTransform api of tf to know when it is available and if not wait for it.

The reason for this error is that your listener sometimes cannot catch the transform frame which you want for transformation due to latency issue in rate with which a broadcaster is publishing.There are two solutions to this problem

1.to create a timer for your callback listener with litlle more duration as compared to what you were using before. 2.other way is to use the lookupTransform api of tf to know when it is available and if not wait for it.before.

2.using a try-catch block