MRC/Tutorials/Setting up the PICO simulator: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
(Created page with '== Gazebo == We will use the robot simulator http://gazebosim.org/ Gazebo to simulate the PICO robot and its environment. This includes simulation of the physics and sensors…')
 
Line 9: Line 9:
# Initialize.<pre>gzserver</pre> Wait until you get a message like ''Publicized address: ...''.  
# Initialize.<pre>gzserver</pre> Wait until you get a message like ''Publicized address: ...''.  


You can try if your Gazebo installation was successfull by either executing a gazebo client on a seperate terminal:
You can try if your Gazebo installation was successfull by either executing a gazebo client on a seperate terminal (''i.e.'', while ''gzserver'' is running):


<pre>gzclient</pre>
<pre>gzclient</pre>


Or by running the program alone:
Or by running the server and client at the same time with one command:


<pre>gazebo</pre>
<pre>gazebo</pre>

Revision as of 21:47, 23 April 2014

Gazebo

We will use the robot simulator [Gazebo] to simulate the PICO robot and its environment. This includes simulation of the physics and sensors of the robot. To install Gazebo:

  1. Open a terminal (ctrl-alt-t)
  2. Setup 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. Retrieve and install the keys for the Gazebo repositories:
    wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
  4. Update apt-get and install Gazebo.
    sudo apt-get update
    sudo apt-get install gazebo
  5. Initialize.
    gzserver
    Wait until you get a message like Publicized address: ....

You can try if your Gazebo installation was successfull by either executing a gazebo client on a seperate terminal (i.e., while gzserver is running):

gzclient

Or by running the server and client at the same time with one command:

gazebo