MRC/Tutorials/Setting up the PICO simulator: Difference between revisions
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…') |
(→Gazebo) |
||
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 | 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:
- Open a terminal (ctrl-alt-t)
- 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'
- Retrieve and install the keys for the Gazebo repositories:
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
- Update apt-get and install Gazebo.
sudo apt-get update
sudo apt-get install gazebo
- 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