No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

bluerov2_gz package from bluerov2_gz repo

bluerov2_gz

Package Summary

Tags No category tags.
Version 0.7.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description BlueROV2 model for Gazebo Garden
Checkout URI https://github.com/clydemcqueen/bluerov2_gz.git
VCS Type git
VCS Version main
Last Updated 2025-01-05
Dev Status UNKNOWN
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Model of BlueROV2 that runs in Gazebo Harmonic

Additional Links

Maintainers

  • Clyde McQueen

Authors

  • Clyde McQueen

BlueROV2 in Gazebo Harmonic

Status: proof-of-concept, updated for Gazebo Harmonic binaries

This is a model of the BlueROV2, including support for both the base and heavy configurations, that runs in Gazebo Harmonic. It uses the BuoyancyPlugin, HydrodynamicsPlugin and ThrusterPlugin.

bluerov2_gz

Requirements

Please ensure that the following requirements have been met prior to installing the project:

See the Dockerfile for full installation details.

Running Gazebo

Gazebo can be launched using the following commands:

export GZ_SIM_RESOURCE_PATH=~/colcon_ws/src/bluerov2_gz/models:~/colcon_ws/src/bluerov2_gz/worlds
export GZ_SIM_SYSTEM_PLUGIN_PATH=~/ardupilot_gazebo/build
gz sim -v 3 -r <gazebo-world-file>

where <gazebo-world-file> should be replaced with either bluerov2_underwater.world for the BlueROV2 base configuration or bluerov2_heavy_underwater.world for the BlueROV2 Heavy configuration.

Once Gazebo has been launched, you can directly send thrust commands to the BlueROV2 model in Gazebo:

cd ~/colcon_ws/src/bluerov2_gz
scripts/cw.sh <model_name>
scripts/stop.sh <model_name>

where <model_name> is replaced with the corresponding model defined in the world (i.e., bluerov2 for the bluerov2_underwater.world or bluerov2_heavy for the bluerov2_heavy_underwater.world).

Now launch ArduSub and ardupilot_gazebo:

cd ~/ardupilot
Tools/autotest/sim_vehicle.py -L RATBeach -v ArduSub -f <frame> --model=JSON --out=udp:0.0.0.0:14550 --console

where <frame> is replaced with either vectored for the BlueROV2 base configuration or vectored_6dof for the BlueROV2 Heavy configuration.

Note: if you run into problems switching between the vectored and vectored_6dof frame add the -w option to delete all ArduSub parameters.

Use MAVProxy to send commands to ArduSub:

arm throttle
rc 3 1450     
rc 3 1500
mode alt_hold
rc 5 1550
disarm

Additional information regarding the usage of each model may be found in a model’s respective directory.

Caveats

  • The models need tuning

References

  • https://github.com/ardupilot/ardupilot_gazebo/wiki
  • https://gazebosim.org/docs/harmonic/install
  • https://ardupilot.org/dev/docs/building-setup-linux.html
  • https://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html
  • https://ardupilot.org/mavproxy/docs/getting_started/download_and_installation.html
  • https://www.ardusub.com/developers/rc-input-and-output.html
  • https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html
CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

Deps Name
ament_cmake

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged bluerov2_gz at Robotics Stack Exchange

No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.