Difference between revisions of "Get Started: Introduction, Overview and Installation"

From Lofaro Lab Wiki
Jump to: navigation, search
(Created page with "==Download and Install Gazebo== We recommend Gazebo 1.9 with ROS-hydro on Ubuntu 12.04 (for futher information about which combination of ROS/Gazebo verisons to use, see this...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Download and Install Gazebo==
 
==Download and Install Gazebo==
  
We recommend Gazebo 1.9 with ROS-hydro on Ubuntu 12.04 (for futher information about which combination of ROS/Gazebo verisons to use, see this [http://gazebosim.org/tutorials/?tut=ros_wrapper_versions link]. Instructions given on this [http://gazebosim.org/tutorials?tut=install&ver=1.9&cat=get_started link1] and []. Follow the notes and commands below.  
+
We recommend Gazebo 1.9 with ROS-hydro on Ubuntu 12.04 (for futher information about which combination of ROS/Gazebo verisons to use, see this [http://gazebosim.org/tutorials/?tut=ros_wrapper_versions link]. Instructions given on this [http://gazebosim.org/tutorials?tut=install&ver=1.9&cat=get_started link]. Follow the notes and commands below.
 +
   
 +
1) Ubuntu repositories:
 +
Make sure your Ubuntu repositories are set to allow -restricted-, -universe-, and -multiverse-. For more information on repositories and how to change repository settings, see this [https://help.ubuntu.com/community/Repositories/Ubuntu link].
  
'''If not using Ubuntu 12.04 and installing hydro:''' please refer to instructions given [http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment here].
+
2) Set up your computer to accept software from packages.osrfoundation.org:
  
1) Pre-compiled binaries
+
<syntaxhighlight lang="bash">sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu precise main" > /etc/apt/sources.list.d/gazebo-latest.list'</syntaxhighlight>
   
+
    1) Make sure your Ubuntu repositories are set to allow -restricted-, -universe-, and -multiverse-. For more information on repositories and how to change repository settings, see this [https://help.ubuntu.com/community/Repositories/Ubuntu link].
+
  
    2) Set up your computer to accept software from packages.osrfoundation.org
+
3) Get and install the keys for the repositories:
  
    <nowiki>sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu precise main" > /etc/apt/sources.list.d/gazebo-latest.list'</nowiki>
+
<syntaxhighlight lang="bash">wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -</syntaxhighlight>
  
    3) Get and install the keys for the repositories
+
4) Update then install Gazebo:
     <nowiki>wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -</nowiki>
+
      
 +
<syntaxhighlight lang="bash">sudo apt-get update
 +
sudo apt-get install gazebo</syntaxhighlight>
  
    4) Update then install Gazebo
+
5) Check installation:
    <nowiki>sudo apt-get update
+
sudo apt-get install gazebo</nowiki>
+
  
    5) Check installation
+
<syntaxhighlight lang="bash">gzserver
    <nowiki>gzserver
+
gzclient</syntaxhighlight>
gzclient</nowiki>
+
 
    Since Gazebo was installed from debian, it should say (do not enter this command into terminal; compare this to what it says when you entered 'gzserver')
+
Since Gazebo was installed from debian, it should say (do not enter this command into terminal; compare this to what it says when you entered 'gzserver'):
     <nowiki>/usr/bin/gzserver
+
      
/usr/bin/gzclient</nowiki>
+
<syntaxhighlight lang="bash">/usr/bin/gzserver
 +
/usr/bin/gzclient</syntaxhighlight>

Latest revision as of 21:37, 11 November 2014

Download and Install Gazebo

We recommend Gazebo 1.9 with ROS-hydro on Ubuntu 12.04 (for futher information about which combination of ROS/Gazebo verisons to use, see this link. Instructions given on this link. Follow the notes and commands below.

1) Ubuntu repositories: Make sure your Ubuntu repositories are set to allow -restricted-, -universe-, and -multiverse-. For more information on repositories and how to change repository settings, see this link.

2) Set up your computer to accept software from packages.osrfoundation.org:

sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu precise main" > /etc/apt/sources.list.d/gazebo-latest.list'

3) Get and install the keys for the repositories:

wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -

4) Update then install Gazebo:

sudo apt-get update 
sudo apt-get install gazebo

5) Check installation:

gzserver
gzclient

Since Gazebo was installed from debian, it should say (do not enter this command into terminal; compare this to what it says when you entered 'gzserver'):

/usr/bin/gzserver
/usr/bin/gzclient