Ask Your Question

Can't run roscd beginner_tutorials. [closed]

asked 2014-08-11 07:38:25 -0500

HelpwithUbuntu gravatar image

updated 2014-08-11 07:38:47 -0500

Ubuntu 12.04 ros hydro I installed ros with this, "sudo apt-get install ros-indigo-desktop-full"

I did this, mkdir -p ~/catkin_ws/src $ cd ~/catkin_ws/src $ catkin_init_workspace cd ~/catkin_ws/ $ catkin_make source devel/setup.bash

and this catkin_create_pkg beginner_tutorials std_msgs rospy roscpp

I can't run this " rospack depends1 beginner_tutorials " Package does not exist.

I don't understand why this is so difficult. These needs to be easier.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by HelpwithUbuntu
close date 2014-08-14 07:43:10.387263



Did you at some point (e.g. in your .bashrc) source /opt/ros/hydro/setup.bash? If not, do so.

dornhege gravatar image dornhege  ( 2014-08-11 07:43:01 -0500 )edit

Yes I sourced that at the beginning.

HelpwithUbuntu gravatar image HelpwithUbuntu  ( 2014-08-12 02:27:22 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-08-12 10:37:20 -0500

gvdhoorn gravatar image

updated 2014-08-12 12:56:48 -0500

Firs tutorial: Installing and Configuring Your ROS Environment - Managing your Environment:

You will need to run this command on every new shell you open to have access to the ros commands, unless you add this line to your .bashrc. This process allows you to install several ROS distributions (e.g. fuerte and groovy) on the same computer and switch between them.

Also: the tutorials assume a minimum amount of experience with Linux / Ubuntu. They are not Linux tutorials, but ROS tutorials.

edit flag offensive delete link more


How do I make it where I don't have to run this ros commands every time I use a new command shell

HelpwithUbuntu gravatar image HelpwithUbuntu  ( 2014-08-14 06:27:50 -0500 )edit

answered 2014-08-12 09:35:48 -0500

HelpwithUbuntu gravatar image

updated 2014-08-12 09:48:08 -0500

I figured it out, You have to run "cd ~/catkin_ws" then "source devel/setup.bash" in the same terminal then you can run roscd beginner_tutorials. Why do I have to run both of those commands every time I want to run "roscd beginner_tutorials"

This is very tedious and know where does it say that I had to run those commands every single time I want to use "roscd beginner_tutorials"

These tutorials need to be more clear or make using Ubuntu easier for the average humane being.

edit flag offensive delete link more


You should make an answer out of this as that is the more usable solution.

dornhege gravatar image dornhege  ( 2014-08-12 11:18:17 -0500 )edit

Question Tools

1 follower


Asked: 2014-08-11 07:38:25 -0500

Seen: 601 times

Last updated: Aug 12 '14