Ask Your Question

cannot launch node in hydro

asked 2014-07-29 06:01:26 -0600

Moda gravatar image

updated 2014-07-29 08:49:04 -0600

When i launch move_base.launch, I got this :

ERROR: cannot launch node of type [tf/static_transform_publisher]: can't locate node [static_transform_publisher] in package [tf]
ERROR: cannot launch node of type [amcl/amcl]: can't locate node [amcl] in package [amcl]

However I already have done : sudo apt-get install ros-hydro-amcl and sudo apt-get install ros-hydro-tf

edit retag flag offensive close merge delete


What happens if you do roscd tf?

BennyRe gravatar imageBennyRe ( 2014-07-29 06:12:02 -0600 )edit


Moda gravatar imageModa ( 2014-07-29 06:29:11 -0600 )edit

and for amcl : /opt/ros/hydro/share/amcl

Moda gravatar imageModa ( 2014-07-29 06:39:32 -0600 )edit

Can you post your ROS_PACKAGE_PATH environment variable?

sterlingm gravatar imagesterlingm ( 2014-07-29 08:50:35 -0600 )edit

What is my ROS_PACKAGE_PATH ? the path for the catkin_ws folder? If yes it is /home/lempereur/catkin_ws and the path for the hydro is /opt/ros/hydro/

Moda gravatar imageModa ( 2014-07-29 08:56:17 -0600 )edit

Do "env | grep ROS" and you will see it. It is the path where ROS looks for your packages. But if roscd takes you where you listed it is probably fine. Do "ls /opt/ros/hydro/lib/tf" and see if it lists the static_transform_publisher executable.

sterlingm gravatar imagesterlingm ( 2014-07-29 09:05:02 -0600 )edit

My ROS_PACKAGE_PATH is ROS_PACKAGE_PATH=/opt/ros/hydro/share:/opt/ros/hydro/stacks

Moda gravatar imageModa ( 2014-07-29 09:07:22 -0600 )edit

when I maid ls /opt/ros/hydro/lib/tf I get static_transform_publisher tf_change_notifier tf_echo tf_empty_listener tf_monitor tf_remap view_frames

Moda gravatar imageModa ( 2014-07-29 09:08:13 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-01 03:46:00 -0600

Moda gravatar image

updated 2014-08-01 03:48:59 -0600

I deleted all the files from my workspace, and reinstall everythink. And it solves my error. Thank you for your help BennyRe and Sterlingm. However, i got this error :

Waiting on transform from base_link to map to become available before running costmap, tf error: 
[ WARN] [1406882852.669591743]: No laser scan received (and thus no pose updates have been published) for 1406882852.669489 seconds.  Verify that data is being published on the /scan topic.

I already faced this issue in groovy, and i was unable to found a solution.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-07-29 06:01:26 -0600

Seen: 1,527 times

Last updated: Aug 01 '14