Difference between revisions of "Build a World"

From Lofaro Lab Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==Building a world==
 
==Building a world==
 +
 +
This tutorial is based off of the tutorial from this [http://gazebosim.org/tutorials?tut=build_world&ver=1.9%2B&cat=build_world link].
  
 
'''Setup'''
 
'''Setup'''

Revision as of 22:18, 3 November 2014

Building a world

This tutorial is based off of the tutorial from this link.

Setup

1. Create a working directory

    $ mkdir ~/build_world_tutorial; cd ~/build_world_tutorial

2. Start gazebo (should just display ground plane)

    $ gazebo

Add Object

You can either add simple shapes which are located above the world screen or models which are located in the 'inset' tab next to 'world' tab.

Saving and Loading World

A world can be saved under the file menu. File --> Save As --> insertWorldNameHere.sdf

The world can now be loaded on terminal:

    $ gazebo insertWorldNameHere.sdf