ros beginner tutorials problem
While trying to execute the command roscd beginner_tutorials or rospack find beginner_tutorials i'm getting a message displaying No such package/stack. plz help
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
While trying to execute the command roscd beginner_tutorials or rospack find beginner_tutorials i'm getting a message displaying No such package/stack. plz help
Could you try the followings?
1. Launch a terminal.
2. Open ".bashrc". ".bashrc" is at your home directry(/home/(user-name)/.bashrc).
eg). $gedit .bashrc
3. Check whether there are the following lines or not. If not, add them.
(
Assumption:
1. You use ros electric. If you use other ros versions, change the part "electric".
2. You made ros_workspace directry at your home directry and created beginner_tutorials package in the directry.
)
export /opt/ros/electric/setup.bash
export ROS_PACKAGE_PATH=~/ros_workspace:/opt/ros/electric/stacks
*Second line is important. You need to add the directry which includes packages to environment variable.
If roscd still doesn't work well...
1. Go to beginner_tutorials directry.
eg). cd ~/ros_workspace/beginner_tutorials
2. Type the following command.
$rosmake
3. Retry "roscd".
Try this : $ source devel/setup.bash It worked for me. (You should have a catkin workspace already created and your package must be inside the workspace)
Hi,
I have the same problem with groovy distribution. I have first wrote:
$source /opt/ros/groovy/setup.bash
and then:
$rospack depends1 beginner_tutorials
the result is:
Error: no such package beginner_tutorials
The solution for my distrubution of ros is the same?
Hi everyone, I just ran into this problem and found it was my own stupidity and not reading CAREFULLY the tutorial instructions.
I have the distro indigo (found by "echo $ROS_DISTRO").
So I thought I followed the tutorial and I missed the one step... BEFORE you call:
catkin_create_pkg beginner_tutorials std_msgs rospy roscpp
Make sure you are in the ~/catkin_ws/src directory. <- that's the step I missed.
I called catkin_create_pkg from the ~/catkin_ws directory. WRONG... it's looking for it in the src directory.
Anyway, hope this helps someone else...
You need to source the appropriate setup.bash
in your shell.
I got the same problem and tried all suggested solutions but didn't help. So I created package not in catkin_ws/src but catkin_ws directory and it worked. I'm not very good at Linux, but I think problem is about defining home path while creating ros workspace.
you need to source your workspace's(i.e-catkin_ws) setup.bash file first
$ . ~/catkin_ws/devel/setup.bash
then do what you were doing
$ roscd beginner_tutorial
Asked: 2012-08-16 14:32:21 -0600
Seen: 9,091 times
Last updated: Nov 01 '13
How can I get involved in ROS community?
Problem running stage navigation tutorial
What tf information does vslam_system need?
slam_gmapping MappingFromLoggedData out of dual 32-bit range
How to contributing python versions of tutorials? e.g. Tutorials for arm_navigation
Errors in setting up ROS tutorial workspace in "tf tutorials"
navigation stack SendingSimpleGoals Tutorial
I also ever met with the same problem! But I always use 'cd' now.