Home | Tutorials | Wiki | Issues
Ask Your Question
0

Gazebo 2.2 Can't open /usr/share/gazebo//setup.sh

asked 2015-04-24 09:01:18 -0600

Haz88 gravatar image

updated 2015-04-24 12:19:39 -0600

nkoenig gravatar image

BH

I installed the gazebo 2.2 packages and while typing the roslaunch turtlebot_gazebo turtlebot_world.launch command I continue to get this comment:

Can't open /usr/share/gazebo//setup.sh

By the way, I'm using this command in order to set the ROS environment variables: source /opt/ros/indigo/setup.bash.

What should I do in order to get rid of this problem?

edit retag flag offensive close merge delete

Comments

What is your linux distribution? Are you using the ROS repo? or are you using the packages.osrfoundation.org repo together with the ROS one?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2015-04-24 16:46:45 -0600 )edit

Hi, My linux distribution is Ubuntu 14.04(Trusty). I'm using the repo that is mentioned in the Indigo installation tutorial at the Ros website (http://wiki.ros.org/indigo/Installation/Ubuntu) , hope that answers your second question.

Haz88 gravatar imageHaz88 ( 2015-04-25 16:17:10 -0600 )edit

I've verified that the gazebo2 package is installing the setup.sh. Could you tell me the result of dpkg -l | grep gazebo?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2015-04-26 09:18:52 -0600 )edit

This is what I got after copying that command:ii gazebo2 2.2.5-1~trusty amd64 Gazebo simulator - Main package rc gazebo4 4.1.1-1~trusty amd64 Open Source Robotics Simulator

Haz88 gravatar imageHaz88 ( 2015-04-26 13:00:37 -0600 )edit

ii ros-indigo-gazebo-msgs 2.4.8-0trusty-20150326-1001-+0000 amd64 Message and service data structures for interacting with Gazebo from ROS.

Haz88 gravatar imageHaz88 ( 2015-04-26 13:00:43 -0600 )edit

rc libgazebo4:amd64 4.1.1-1~trusty amd64 Open Source Robotics Simulator - shared library

Haz88 gravatar imageHaz88 ( 2015-04-26 13:05:37 -0600 )edit

ii ros-indigo-gazebo-plugins 2.4.8-0trusty-20150328-2138-+0000 amd64 Robot-independent Gazebo plugins for sensors, motors and dynamic reconfigurable components.

Haz88 gravatar imageHaz88 ( 2015-04-26 13:07:29 -0600 )edit

ii ros-indigo-gazebo-ros 2.4.8-0trusty-20150328-2131-+0000 amd64 Provides ROS plugins that offer message and service publishers for interfacing with Gazebo through ROS. Formally simulator_gazebo/gazebo

Haz88 gravatar imageHaz88 ( 2015-04-26 13:07:54 -0600 )edit

ii ros-indigo-gazebo-ros-control 2.4.8-0trusty-20150328-2344-+0000 amd64 gazeboroscontrol ii ros-indigo-gazebo-ros-pkgs 2.4.8-0trusty-20150328-2334-+0000 amd64 Interface for using ROS with the Gazebo simulator.

Haz88 gravatar imageHaz88 ( 2015-04-26 13:08:02 -0600 )edit

Sorry for the countless posts, I'm limited to post small messages.

Haz88 gravatar imageHaz88 ( 2015-04-26 13:08:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-28 15:59:44 -0600

If you copy from your terminal for the error information and paste here:

"Can't open /usr/share/gazebo//setup.sh"

Then you have two "//" before setup.sh

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2015-04-24 09:01:18 -0600

Seen: 1,412 times

Last updated: Apr 28 '15