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

tf tutorial:cannot launch node of type

asked 2013-08-23 21:22:01 -0500

isnow4ever gravatar image

updated 2013-08-23 21:22:51 -0500

When following the tf tutorial,there are errors here: After typing "roslaunch turtle_tf_broadcaster start_demo.launch", it returns "ERROR: cannot launch node of type [learning_tf/turtle_tf_broadcaster]: can't locate node [turtle_tf_broadcaster] in package [learning_tf]" How can I correct it?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2014-03-04 23:30:08 -0500

lguodongustc gravatar image

I built with catkin and had the same problem. I solved it by executing the command "source devel/setup.sh" in the catkin workplace before running the launch file. (I always forget to run it....)

edit flag offensive delete link more

Comments

Thanks! It's useful.

isnow4ever gravatar image isnow4ever  ( 2014-03-06 12:04:59 -0500 )edit
0

answered 2016-06-29 15:32:54 -0500

kiyamelak gravatar image

updated 2016-06-29 15:34:27 -0500

Make sure you have included all the package that are needed within your CmakeList.txt. For instance, I forget to included rospy and it didn't work for me. And if that didn't work try deleting the build and devel folders within you package and recompile it with catkin_make.

edit flag offensive delete link more

Comments

Might not work, until you do catkin_make within your workspace

sincole gravatar image sincole  ( 2017-11-09 16:07:44 -0500 )edit
0

answered 2013-08-26 04:02:08 -0500

thebyohazard gravatar image

The executable either isn't there or isn't named "turtle_tf_broadcaster". Make sure you run catkin_make and check your CMakeLists.txt to see what the executable is named.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-08-23 21:22:01 -0500

Seen: 7,311 times

Last updated: Jun 29 '16