- Make sure you have the following installed:
- ROS
- Cmake
- gcc/g++
- Git
- Clone the project using
git clone < >
- Open project folder folder in terminal
- create build folder and make it as current directory.
mkdir build && cd build
- Build with cmake
cmake ../ && make
- Add the build folder to the Gazebo plugin path:
export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:<path_to_build_folder>
. - Go back to world folder.
- Launch Gazebo world
gazebo world
orgazebo world --verbose
for debug
.Project # Build My World Project
├── model # Model files
│ ├── House
│ │ ├── model.config
│ │ ├── model.sdf
│ ├── myrobot
│ │ ├── model.config
│ │ ├── model.sdf
├── script # Plugin files
│ ├── welcomeworld.cpp
├── world # World files
│ ├── world.world
├── CMakeLists.txt