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

/opt/ros/electric/setup.bash doest exist

asked 2011-11-08 21:03:10 -0500

acp gravatar image

Hi to everybody

I have installed debian squeeze and I follow ROS Electric installation instructions

I do the following:

1.-# apt-get install build-essential python-yaml cmake subversion wget python-setuptools mercurial

2.-# easy_install -U rosinstall

3.-# rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=electric&variant=desktop-full&overlay=no"

4.- # source ~/ros/setup.bash

I can see that /opt/ros/electric/setup.bash doest exist /op/ is empty. And, I can not create a bash script for configuring your ROS workspace environment.

Any ideas? I have no clue, I will aprreciate any help.

Regards,

Alfredo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2011-11-08 21:16:06 -0500

With the rosinstall command as above, everything is installed in ~/ros. So instead of using /opt/ros/electric, using ~/ros should get you going.

edit flag offensive delete link more

Comments

I see, well, why the tutorial points to "source /opt/ros/electric/setup.bash" for the script for the ROS workspace environment. it shall be I guess "source ~/ros/setup.bash" for the script, right?
acp gravatar image acp  ( 2011-11-08 21:26:00 -0500 )edit
The tutorials are mainly written assuming the default Ubuntu installation, which installs in /opt/ros/electric. As you are using Debian and build ROS from source, the installation directory is different in your case. So yes, in your case it's "source ~/ros/setup.bash"
Steven Bellens gravatar image Steven Bellens  ( 2011-11-08 21:45:16 -0500 )edit
I am still a bit confuse. The question is now, how a bash script to configure a work space environment shall be? as stated in the tutorial http://www.ros.org/wiki/ROS/Tutorials/InstallingandConfiguringROSEnvironment
acp gravatar image acp  ( 2011-11-08 22:31:51 -0500 )edit
#!/bin/sh source ~/ros/setup.bash export ROS_ROOT=~/ros export PATH=$ROS_ROOT/bin:$PATH export PYTHONPATH=$ROS_ROOT/core/roslib/src:$PYTHONPATH export ROS_PACKAGE_PATH=~/ros:$ROS_PACKAGE_PATH
Steven Bellens gravatar image Steven Bellens  ( 2011-11-09 06:33:38 -0500 )edit

Question Tools

Stats

Asked: 2011-11-08 21:03:10 -0500

Seen: 2,027 times

Last updated: Nov 08 '11