This is a simple guide to execute BlueRov2 model in Gazebo running ArduPilot SITL.
-
Install freebuoyancy_gazebo plugin for buoyancy simulation.
-
Install ardupilot_gazebo/add_link plugin for ardupilot-gazebo communication. add_link is a branch that provides actuation over sdf links, after the
git clone
, it's necessary to rungit checkout add_link
. -
Run BlueRov2 Gazebo model
-
Download bluerov_ros_playground
git clone https://github.com/patrickelectric/bluerov_ros_playground
-
Run Gazebo model
cd bluerov_ros_playground source gazebo.sh gazebo worlds/underwater.world -u # Start the simulation
-
-
Execute ArduPilot SITL
sim_vehicle.py -f gazebo-bluerov2 -I 0 -j4 -D -L RATBeach --console
The console will start to display the output if the connection was successful.