Project 1: Build My World
Build Instructions
- Make sure you have the following installed:
- ROS
- Cmake
- gcc/g++
- Git
- Clone the project
- Go to the project folder
- Create a build folder
mkdir build && cd build
- Build with cmake
cmake .. && make
- Add the build folder to the Gazebo plugin path:
GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:<path_to_build_folder>
. For example,GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:/home/workspace/myrobot/build
- Go back to the project folder
- Launch Gazebo world
gazebo world/myworld
Structure
.myrobot # Build My World Project
├── model # Model files
│ ├── brickhouse
│ │ ├── model.config
│ │ ├── model.sdf
│ ├── robot
│ │ ├── model.config
│ │ ├── model.sdf
│ ├── simplerobot
│ │ ├── model.config
│ │ ├── model.sdf
├── script # Plugin files
│ ├── hello.cpp
├── world # World files
│ ├── myworld
├── CMakeLists.txt
└──