Exception thrown:"world" passed to lookupTransform argument target_frame does not exist. [closed]

asked 2014-06-28 19:53:50 -0500

jackcviers gravatar image

In Writing a tf broadcaster (Python)

 $ rosrun tf tf_echo /world /turtle1

the terminal outputs the following error:

Failure at 1404002761.660228438
Exception thrown:"world" passed to lookupTransform argument target_frame does not exist. 
The current list of frames is:

Does this indicate that a link is missing from "world" to the "base_link" of turtlesim? How might one go about fixing this apparent error?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by jackcviers
close date 2014-08-23 13:54:38.118022

Comments

1

Can you tell us that the current list of frames actually is? You may be running into a problem due to the frames you want existing but with a `tf_prefix` specified, so you won't see them if you're just looking for `/world`, because they actually exist as `/tf_prefix/world`.

bjem85 gravatar image bjem85  ( 2014-06-29 17:36:24 -0500 )edit

After rerunning the tutorial in a completely new workspace, it worked as described. Not sure what was going on, but something was apparently messed up.

jackcviers gravatar image jackcviers  ( 2014-07-17 19:28:21 -0500 )edit

I had the same error in the tf tutorial for writing a broadcaster (cpp). My mistake was to forget to assign the value for turtle_name after the check for the right number of arguments.

count_dueki gravatar image count_dueki  ( 2017-05-15 14:13:46 -0500 )edit

For me, I solves it by creating a folder named launch under catkin_ws/src/learning_tf2 and put start_demo.launch there.

keineahnung2345 gravatar image keineahnung2345  ( 2021-08-06 23:00:15 -0500 )edit