turtle_tf_sensor.launch error
When I followed Using Stamped datatypes with tf::MessageFilter Tutorials, an error happened.
roslaunch turtle_tf turtle_tf_sensor.launch
error: cannot launch node of type [turtle_tf/turtle_tf_message_filter]: can't locate node [turtle_tf message_filter] in package [turtle_tf].
Asked by Jeffery on 2018-03-25 16:21:50 UTC
Answers
I also have this issue and I'm running ROS kinetic. However, according to this post, the user found the turtle_tf_message_filter.cpp file on the Github repo. You'll notice that this is the same code listed in the tutorial and was used to generate the turtle_tf_message_filter
executable. The user also reported the issue and it looked like it was resolved, so I'm not sure why I'm having the error as well. Either way hope this helps.
As a slight hack, you can generate the turtle_tf_message_filter
executable yourself by creating the source file and editting the CMakelists.txt
file in your current workspace. Then, you can copy the executable to the location expected by the turtle_tf_sensor.launch
file. For my ROS kinetic distribution, this involved running something like this:
sudo cp <your_workspace>/devel/lib/<your_tf_package>/turtle_tf_message_filter /opt/ros/kinetic/lib/turtle_tf/
Asked by jwin on 2018-12-29 02:38:28 UTC
Comments
How did you install the package? Or, are you following along with the tutorial yourself and copy and pasting the code?
Asked by jayess on 2018-12-29 04:03:10 UTC
I'm facing the same problem, and i'm following tutorial and copypasting the code. So, what would be the issue, and what is the right way to do this chapter? Maybe i'm missing something, and doing it wrong. Can someone please point me the right way how to do this tutorial. Thank you!
edit. I'm running ros melodic and ubuntu 18.04
Asked by tom94 on 2020-04-09 08:01:29 UTC