To simulate a world in Gazebo.
- Gazebo GUI, model editor, building editor
- Gazebo Plugins
- Basics of Kinematics and C++
.First-Project # Build My World Project
├── model # Model files
│ ├── DemoOffice
│ │ ├── model.config
│ │ ├── model.sdf
│ ├── Robot1
│ │ ├── model.config
│ │ ├── model.sdf
├── script # Gazebo World plugin C++ script
│ ├── welcome_message.cpp
├── world # Gazebo main World containing models
│ ├── DemoOffice.world
├── CMakeLists.txt # Link libraries
└
You need to have Gazebo installed on your Linux system Click here to download and follow the instructions
First build the plugin and update it. Write the below commands on Terminal.
$ cd /home/robond/Desktop/First-Project
$ cd build/
$ cmake ../
$ make # You might get errors if your system is not up to date!
$ export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:/home/robond/Desktop/First-Project/build
Now, navigate to the world directory and run the following commands.
$ cd /home/robond/Desktop/First-Project/world/
$ gazebo DemoOffice
On the Terminal you should see the following command
Welcome to Sahil's world!