how to Transform Pointcloud2 with tf
Hi, I tried to run the python code on this link http://answers.ros.org/question/9103/... and got such an error below : Traceback(most recent call last): File "/home/ahmet/catkin_ws/src/laserTF/src/laserTransform.py", line 26 in module> listener.waitForTransform("/base_link", "/odom" , rospy.Time(0),rospy.Duration(1.0)) tf.Exception: . canTransform returned after 1.00039 timeout was 1.
How to solve this problem ? Please help me this time . @jayess
Please also use the Preformatted Text button (the one with
101010
on it) to format your terminal output. Also, can you please post your tf tree and rqt_graph?I coulnd't paste my terminal output using preformatted text button @jayess . So ı will write again this error:listener.waitForTransform("/base_link", "/odom" , rospy.Time(0),rospy.Duration(1.0)) tf.Exception: . canTransform returned after 1.00039 timeout was 1.
And because the code doesn't work ,the tf tree doesn't come out either
@Mekateng, @jayess is being very patient and helpful. Copying and pasting the same content does not give any more information. The onus is on you to provide more information if you want help to answer to your question.
@Mekateng, it's very simple to use the button. Highlight the portion that needs to be formatted, then click the
101010
button or typeCtrl-k
. Then, it will be formatted correctly.The error is saying that it times out waiting for the transform from
base_link
toodom
. Without the requested information or more information about what you're running/doing then that's all that can be said. You need a transform frombase_link
toodom
.Thank you very much Mr. @jayess . I hope ı will deal with it . Again thank you for your patient
last question mr. @jayess . Of course How do I change the code to convert from base_link to odom? python code link: https://answers.ros.org/question/9103...