ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

turtle_tf_sensor.launch error

asked 2018-03-25 16:21:50 -0500

Jeffery gravatar image

updated 2018-03-26 01:24:19 -0500

gvdhoorn gravatar image

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].
edit retag flag offensive close merge delete

Comments

How did you install the package? Or, are you following along with the tutorial yourself and copy and pasting the code?

jayess gravatar image jayess  ( 2018-12-29 03:03:10 -0500 )edit

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

tom94 gravatar image tom94  ( 2020-04-09 08:01:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-29 01:38:28 -0500

jwin gravatar image

updated 2018-12-29 01:51:30 -0500

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/
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-03-25 16:21:50 -0500

Seen: 549 times

Last updated: Dec 29 '18