Skip to content

EasternEdgeRobotics/rov-sim

Repository files navigation

rov-sim

This repository demonstrates an implementation of Gazebo Harmonic for simulating underwater remotely operated vehicles (ROVs). It's purpose is to facilitate simulation of underwater ROVs as quickly as possible using open source software. This may help to improve safety, facilitate design validation, and increase testing time.

Table of Contents

Prerequisite Software

Note: ROS2 Jazzy and the ROS-Gazebo bridging libraries are not required other than to facilitate the use of an existing ROS2 framework for controlling simulated ROVs.

Running the Simulation

To run the simulation, follow these steps:

  1. Clone this repository

  2. Install the prerequisite software as mentioned in the Prerequistie Software section.

  3. Navigate to this repository clone and set the Gazebo Plugin Path: export GZ_SIM_SYSTEM_PLUGIN_PATH=$(pwd)

  4. Launch the simulation: gz sim -v 4 OceanWorld.sdf

The sim should now be running. To pause/unpause the simulation in the command line, run:

gz service -s /world/<WORLD NAME>/control --reqtype gz.msgs.WorldControl --reptype gz.msgs.Boolean --timeout 1000 --req 'pause: <true or false>'

You may run ros2 topic list to see the list of ROS topics on which the robot communicates (also see the list of ros topics).

Headless Mode

To run this simulation headless mode on a remote machine, follow these steps:

  1. SSH into your remote machine

  2. Follow steps 1 and 2 of the Running the Simulation section.

  3. Navigate to this repository clone and run the following script: bash start_simulation_headless.bash

Features

This repository includes the following features:

  • Modified buoyancy plugin making it possible to specify the volume and center of volume for models.
  • Modified thruster plugin based on the Blue Robotics T200 Thrusters. The plugin makes it possible to choose between different thruster voltages.
  • Custom claw plugin to specify left and right claw locations and allowed range of motion.
  • ROV models and associated world files.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.

For a list of open source components included, see 3rd-party-licenses.txt.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published