Exception thrown:"world" passed to lookupTransform argument target_frame does not exist. [closed]
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?
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`.
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.
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.
For me, I solves it by creating a folder named
launch
undercatkin_ws/src/learning_tf2
and putstart_demo.launch
there.