Skip to content

Source code

The source code for Boat Simulator can be found in src/boat_simulator. Its README has been copied below.

UBC Sailbot Boat Simulator

UBC Sailbot's boat simulator for the new project. This repository contains a ROS package boat_simulator. This README contains only setup and run instructions. Further information on the boat simulator can be found on the software team's docs website.

Setup

The boat simulator is meant to be ran inside the Sailbot Workspace development environment. Follow the setup instructions for the Sailbot Workspace here to get started and build all the necessary ROS packages.

Run

The launch/ folder contains a ROS 2 launch file responsible for starting up the boat simulator. To run the boat simulator standalone, execute the launch file after building the boat_simulator package:

ros2 launch boat_simulator main_launch.py [OPTIONS]...

To see a list of options for simulator configuration, add the -s flag at the end of the above command.

Test

Run the test task in the Sailbot Workspace. See here on how to run vscode tasks.