Tf problem LookupTransform not working
Hello,
My question is what is the equivalent code in c++ for the command "rosrun tf tf_echo <source_frame> <target_frame>". I already tried to use "listener.lookupTransform("/femur_6", "/coxa_6", ros::Time(0), transform);" but it always give me an error of the type " passed to lookupTransform argument target_frame does not exist." But it exists, if I run rosrun tf tf_echo .. it gives me the correct answer.
Thanks
Does lookupTransform work for /femur_5 and /coxa_5, and all the rest? Also have a look at your TF tree in rqt:
rosrun rqt_tf_tree rqt_tf_tree
. Make sure it is all connected and that the publishers of TF's are correct.