How markusbuchholz/gazebosim_blueboat_ardupilot_sitl works
This repository combines BlueBoat SITL simulation and mission control, a Gazebo ocean/wave simulation plugin, and a separate VTOL performance calculator. The main user workflow launches the Gazebo vehicle, connects ArduPilot SITL, then sends waypoint or joystick commands; ROS 2 mission control can also hold dynamic position. README statements establish the documented user-facing integrations. Source excerpts show selected wave and VTOL internals, but many runtime paths and the model/world assets are not sampled, so uncertain connections are omitted.
Main entry points: vtol_model.py VTOL mission calculator · util.py Model utilities · OceanTile.cc Ocean surface tile · propeller.py Propeller model
Components 31
BlueBoat control
- Simulation launch
gz_ws/src/move_blueboat/launch/launch_robot_simulation.launch.py - ASV mission planner
gz_ws/src/move_blueboat/move_blueboat/coralguide_asv_mission_planner.py - Waypoint controller
gz_ws/src/move_blueboat/move_blueboat/dp_beacon_dvl_run_boat_waypoint.py - Mission runner
gz_ws/src/move_blueboat/move_blueboat/run_mission.py - Robot controller
gz_ws/src/move_blueboat/move_blueboat/robot_controller.py
Ocean simulation
- Wave controls
gz_ws/src/asv_wave_sim/gz-waves/src/gui/plugins/waves_control/WavesControl.cc - Ocean surface tile
gz_ws/src/asv_wave_sim/gz-waves/src/OceanTile.cc - Random FFT waves
gz_ws/src/asv_wave_sim/gz-waves/src/LinearRandomFFTWaveSimulation.cc - FFT reference waves
gz_ws/src/asv_wave_sim/gz-waves/src/LinearRandomFFTWaveSimulationRef.cc - Regular wave model
gz_ws/src/asv_wave_sim/gz-waves/src/LinearRegularWaveSimulation.cc - Hydrodynamics system
gz_ws/src/asv_wave_sim/gz-waves/src/systems/hydrodynamics/Hydrodynamics.cc - Dynamic geometry
gz_ws/src/asv_wave_sim/gz-waves/src/systems/dynamic/DynamicGeometry.cc - Wave physics
gz_ws/src/asv_wave_sim/gz-waves/src/Physics.cc - Triangulated grid
gz_ws/src/asv_wave_sim/gz-waves/src/TriangulatedGrid.cc - Render extension manager
gz_ws/src/asv_wave_sim/gz-waves/src/systems/waves/RenderEngineExtensionManager.cc
VTOL performance
- VTOL mission calculator
SITL_Models/scripts/VTOL_model/vtol_model.py - Battery model
SITL_Models/scripts/VTOL_model/battery.py - Motor model
SITL_Models/scripts/VTOL_model/motor.py - Propeller model
SITL_Models/scripts/VTOL_model/propeller.py - Propeller data
SITL_Models/scripts/VTOL_model/prop_data.py - Wing model
SITL_Models/scripts/VTOL_model/wing.py - Model utilities
SITL_Models/scripts/VTOL_model/util.py
Vehicle interfaces
- Joystick control
gz_ws/src/move_blueboat/move_blueboat/joy_sim_controller.py - ROS 2 boat interface
gz_ws/extras_interface/ros2_blueboat_interface.py - Differential interface
gz_ws/extras_interface/ros2_blueboat_interface_diff.py - Terminal mission scripts
gz_ws/src/extras_boat/args_mission_planner_gps.py - Dynamic-position scripts
gz_ws/src/extras_boat/mission_planner_gps_dynamic_position.py
Other components
- Operator / planner
- QGroundControl
- ArduPilot SITL
- GazeboSim
Connections 29
- Operator / planner → Simulation launch: launches
- Simulation launch → GazeboSim: starts simulation
- Operator / planner → ArduPilot SITL: starts SITL
- QGroundControl → ArduPilot SITL: plans missions
- Operator / planner → ASV mission planner: defines route
- ASV mission planner → Waypoint controller: sends path
- Operator / planner → Waypoint controller: publishes waypoints
- Waypoint controller → ArduPilot SITL: commands vehicle
- Operator / planner → Terminal mission scripts: enters waypoints
- Terminal mission scripts → ArduPilot SITL: sends waypoints
- Operator / planner → Dynamic-position scripts: requests hold
- Dynamic-position scripts → ArduPilot SITL: commands position
- Operator / planner → Joystick control: steers
- Joystick control → ROS 2 boat interface: publishes controls
- Operator / planner → ROS 2 boat interface: commands motors
- Operator / planner → Differential interface: steers
- Wave controls → GazeboSim: controls disturbances
- Ocean surface tile → Random FFT waves: constructs model
gz_ws/src/asv_wave_sim/gz-waves/src/OceanTile.cc - Ocean surface tile → FFT reference waves: constructs model
gz_ws/src/asv_wave_sim/gz-waves/src/OceanTile.cc - Ocean surface tile → Regular wave model: constructs model
gz_ws/src/asv_wave_sim/gz-waves/src/OceanTile.cc - VTOL mission calculator → Battery model: uses battery model
SITL_Models/scripts/VTOL_model/vtol_model.py - VTOL mission calculator → Motor model: uses motor model
SITL_Models/scripts/VTOL_model/vtol_model.py - VTOL mission calculator → Propeller model: uses propeller model
SITL_Models/scripts/VTOL_model/vtol_model.py - VTOL mission calculator → Wing model: uses wing model
SITL_Models/scripts/VTOL_model/vtol_model.py - Propeller model → Propeller data: reads data
SITL_Models/scripts/VTOL_model/propeller.py - Battery model → Model utilities: uses utilities
SITL_Models/scripts/VTOL_model/battery.py - Motor model → Model utilities: uses utilities
SITL_Models/scripts/VTOL_model/motor.py - Propeller model → Model utilities: uses utilities
SITL_Models/scripts/VTOL_model/propeller.py - Wing model → Model utilities: uses utilities
SITL_Models/scripts/VTOL_model/wing.py