Bluerov2 Gazebo simulation.
-
Install freebuoyancy_gazebo plugin for buoyancy simulation.
-
Install ardupilot_gazebo plugin for ardupilot-gazebo communication.
-
Run BlueRov2 Gazebo model without ROS and MAVROS
-
Download bluerov_ros_playground
git clone https://github.com/kdkalvik/bluerov_ros_playground/ cd bluerov_ros_playground/
-
Run Gazebo model
cd bluerov_ros_playground source gazebo.sh gazebo worlds/underwater.world -u # Start the simulation
-
-
Run BlueRov2 Gazebo model with ROS and MAVROS
-
Make sure you have ROS kinetic installed and then install mavros
sudo apt-get install ros-kinetic-mavros*
-
Download bluerov_ros_playground
cd catkin_ws/src git clone https://github.com/kdkalvik/bluerov_ros_playground/ cd .. catkin_make
-
Run Gazebo model
cd catin_ws/src/bluerov_ros_playground source gazebo.sh roslaunch bluerov_ros_playground gazebo_sitl.launch # Start the simulation
-
-
Execute ArduSub 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 (Use QGC to control the ROV).