ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If you're using a class to wrap all this, just make the buffer and listener members and initialise them in your ctor. If not, put them in a scope other than this callback and do the same.
If that's impossible, use the timeout
argument to lookupTransform(..)
and set it to a non-zero value. ..
2 | No.2 Revision |
If you're using a class to wrap all this, just make the buffer and listener members and initialise them in your ctor. If not, put them in a scope other than this callback and do the same.
If that's impossible, use the timeout
argument to lookupTransform(..)
and set it to a non-zero value. ..That will make lookupTransform(..)
wait for a maximum of timeout
seconds before attempting the actual transformation.