Skip to content

ssicari/bluerov2_ignition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlueROV2 in Gazebo Garden

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

This is a model of the BlueROV2 that runs in Gazebo Garden. It uses the BuoyancyPlugin, HydrodynamicsPlugin and ThrusterPlugin.

RVIZ2_GUI

Requirements

See the Dockerfile for installation details.

Running Gazebo

Launch Gazebo:

export GZ_SIM_RESOURCE_PATH=~/colcon_ws/src/bluerov2_ignition/models:~/colcon_ws/src/bluerov2_ignition/worlds
export GZ_SIM_SYSTEM_PLUGIN_PATH=~/ardupilot_gazebo/build
gz sim -v 3 -r underwater.world

You can directly send thrust commands to the BlueROV2 model in Gazebo:

cd ~/colcon_ws/src/bluerov2_ignition
. scripts/cw.sh
. scripts/stop.sh

Now Launch ArduSub and ardupilot_gazebo:

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

Use MAVProxy to send commands to ArduSub:

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

Caveats:

  • The model needs tuning

References:

About

BlueROV2 model for Gazebo Garden

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 37.5%
  • Dockerfile 30.8%
  • Shell 30.3%
  • CMake 1.4%