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

cannot find package error

asked 2012-03-26 05:40:39 -0600

lu weining gravatar image

Hi all,

I'm trying to use hector_quadrotor stack to simulate the UAV. However I met some problems when I roslaunch the file spawn_quadrotor.launch which in the package hector_quadrotor_urdf. This is what I see:

ERROR: cannot launch node of type [odometry_to_tf/odometry_to_tf]: Cannot locate node of type [odometry_to_tf] in package [odometry_to_tf]

I have already executed the command " rosdep install odometry_to_tf " and " rosmake odometry_to_tf " . Also I can find the package odometry_to_tf by typing command roscd.

Thank you very much for your help!!

edit retag flag offensive close merge delete

Comments

I have already use command "rosmake" to install this ROS package , it doesn't work.

lu weining gravatar image lu weining  ( 2012-03-26 06:11:04 -0600 )edit

@Lorenz Thank you for your advice. But it didn't work. I have installed the hector_localication stack, nothing happened. Do you have any ideas?

lu weining gravatar image lu weining  ( 2012-03-28 07:24:24 -0600 )edit

How did you install the stack? Did you install the trunk version? Is it present in your ROS_PACKAGE_PATH?

Lorenz gravatar image Lorenz  ( 2012-03-29 21:10:35 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-03-26 06:00:21 -0600

Lorenz gravatar image

odometry_to_tf is not a debian package but a ROS package, so rosdep will not install it. roslocate info odometry_to_tf shows the following output:

- svn:
    local-name: odometry_to_tf
    uri: http://tu-darmstadt-ros-pkg.googlecode.com/svn/trunk/hector_localization/odometry_to_tf

Install the stack hector_localication, do a rosmake and odometry_to_tf should be there.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-03-26 05:40:39 -0600

Seen: 637 times

Last updated: Mar 26 '12