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

cannot launch node in hydro

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

Moda gravatar image

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

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

Comments

What happens if you do roscd tf?

BennyRe gravatar image BennyRe  ( 2014-07-29 06:12:02 -0500 )edit

/opt/ros/hydro/share/tf$

Moda gravatar image Moda  ( 2014-07-29 06:29:11 -0500 )edit

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

Moda gravatar image Moda  ( 2014-07-29 06:39:32 -0500 )edit

Can you post your ROS_PACKAGE_PATH environment variable?

sterlingm gravatar image sterlingm  ( 2014-07-29 08:50:35 -0500 )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 image Moda  ( 2014-07-29 08:56:17 -0500 )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 image sterlingm  ( 2014-07-29 09:05:02 -0500 )edit

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

Moda gravatar image Moda  ( 2014-07-29 09:07:22 -0500 )edit

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

Moda gravatar image Moda  ( 2014-07-29 09:08:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Moda gravatar image

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

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. http://answers.ros.org/question/18796...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 1,835 times

Last updated: Aug 01 '14