Skip to content

roboboat_customizing_tutorial

Carlos Agüero edited this page Dec 21, 2023 · 9 revisions

Overview

The purpose of this tutorial sequence is to demonstrate how to modify one of the provided Roboboat reference models.

Creating your custom workspace

Create a workspace to store your brand new model named my_roboboat.

mkdir -p ~/gazebo_maritime/models/my_roboboat && cd ~/gazebo_maritime/models/my_roboboat

Let's download the template of this model:

curl https://raw.githubusercontent.com/wiki/osrf/vrx/files/my_roboboat/model.config -o model.config
curl https://raw.githubusercontent.com/wiki/osrf/vrx/files/my_roboboat/model.sdf -o model.sdf
mkdir meshes
curl https://raw.githubusercontent.com/wiki/osrf/vrx/files/my_roboboat/meshes/gps.dae -o meshes/gps.dae
curl https://raw.githubusercontent.com/wiki/osrf/vrx/files/my_roboboat/meshes/gps.png -o meshes/gps.png

For now, this is a very similar model to the RoboBoat01 available in VRX. Let's test it. Open the

export GZ_SIM_RESOURCE_PATH=:$HOME/gazebo_maritime/models:$GZ_SIM_RESOURCE_PATH

Clone this wiki locally