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

rospack depends1 beginner_tutorials [Package not found]

asked 2014-10-30 15:35:13 -0500

jbsubils gravatar image

Hello,

I'm really new at using ROS and I was doing some tutorials.

The tutorial I'm actually stuck on is the following: http://wiki.ros.org/ROS/Tutorials/Cre...

I have a problem when I do the following command :

`rospack depends1 beginner_tutorials`

I have the following error :

[rospack] Error: no such package beginner_tutorials

So I'm wondering why since the command I ran previously to this one was :

$ catkin_create_pkg beginner_tutorials std_msgs rospy roscpp

This command should create the package but it apparently doesn't. I'm wondering what I missed.

When I tried the command :

roswtf

This is what it return :

Loaded plugin tf.tfwtf

Package: beginner_tutorials

Cannot find dependencies for package [beginner_tutorials]: missing beginner_tutorials

ROS path [0]=/opt/ros/indigo/share/ros

ROS path [1]=/home/anon/catkin_ws/src

ROS path [2]=/opt/ros/indigo/share

ROS path [3]=/opt/ros/indigo/stacks

Does anybody understand my mistake ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-10-30 16:04:39 -0500

jbsubils gravatar image

Ok so I understood my problem.

The solution is before to do the command:

$ catkin_create_pkg beginner_tutorials std_msgs rospy roscpp

We need to be located in : ~/catkin_ws/src

For some reason I was in ~/catkin_ws and thought it was the right place to create the Package.

edit flag offensive delete link more
3

answered 2014-10-30 15:42:11 -0500

ahendrix gravatar image

updated 2014-10-30 15:42:53 -0500

You might need to rebuild your workspace before your new package is findable:

cd ~/catkin_ws
catkin_make
. devel/setup.bash
rospack depends1 beginner_tutorials

(If this works, please let me know and I'll update the tutorial)

edit flag offensive delete link more

Comments

No, I still have the same error

jbsubils gravatar image jbsubils  ( 2014-10-30 15:56:29 -0500 )edit

I don't understand the response of this question (which is the same than mine): http://answers.ros.org/question/99551...

jbsubils gravatar image jbsubils  ( 2014-10-30 15:59:03 -0500 )edit

This did do the trick for me, thanks!

Rutger gravatar image Rutger  ( 2016-09-03 04:19:52 -0500 )edit

Question Tools

Stats

Asked: 2014-10-30 15:35:13 -0500

Seen: 3,013 times

Last updated: Oct 30 '14