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

From Lofaro Lab Wiki
Jump to: navigation, search
(Download and Install Gazebo)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
2) Set up your computer to accept software from packages.osrfoundation.org:
 
2) Set up your computer to accept software from packages.osrfoundation.org:
  
<syntaxhighlight lang="xml"><?sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu precise main" > /etc/apt/sources.list.d/gazebo-latest.list'?></syntaxhighlight>
+
<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>
  
 
3) Get and install the keys for the repositories:
 
3) Get and install the keys for the repositories:
  
<syntaxhighlight lang="xml">wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -</syntaxhighlight>
+
<syntaxhighlight lang="bash">wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -</syntaxhighlight>
  
 
4) Update then install Gazebo:
 
4) Update then install Gazebo:
 
      
 
      
<syntaxhighlight lang="xml">sudo apt-get update  
+
<syntaxhighlight lang="bash">sudo apt-get update  
 
sudo apt-get install gazebo</syntaxhighlight>
 
sudo apt-get install gazebo</syntaxhighlight>
  
 
5) Check installation:
 
5) Check installation:
  
    <nowiki>gzserver
+
<syntaxhighlight lang="bash">gzserver
  gzclient</nowiki>
+
gzclient</syntaxhighlight>
  
5 cont) 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
+
<syntaxhighlight lang="bash">/usr/bin/gzserver
  /usr/bin/gzclient</nowiki>
+
/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