Blue Robotics BlueBoat (operates as skid steer rover in ArduPilot using
the Boat FRAME_CLASS
).
Gazebo and the plugins should be installed as per the ArduPilot Gazebo Plugin instructions.
Update the GZ_SIM_RESOURCE_PATH
to include these models:
export GZ_SIM_RESOURCE_PATH=$GZ_SIM_RESOURCE_PATH:\
$HOME/SITL_Models/Gazebo/models:\
$HOME/SITL_Models/Gazebo/worlds
The model is configured to work with the hydrodynamics plugin from the wave sim package. Follow the package instructions to set up the marine simulation.
The model may be included in the waves.sdf
world by adding the element:
<include>
<pose degrees="true">0 0 0 0 0 90</pose>
<uri>model://blueboat</uri>
</include>
gz sim -v4 -r waves.sdf
sim_vehicle.py -v Rover -f rover-skid --model JSON --console --map --custom-location='51.566151,-4.034345,10.0,-135'
The default skid steer rover parameters give a workable simulation with minor modifications:
CRUISE_SPEED 2.0
CRUISE_THROTTLE 50.0
FRAME_CLASS 2.0
WP_SPEED 2.0
The hull form used to model the hydrodynamics is an approximation. It has slightly more volume in the keel fins and aft, which requires the centre of mass in the simulation to be moved aft for level trim. The hull collision meshes used to calculate the buoyancy and hydrodynamics could be further refined to more closely model the true hull form at a later stage if needed.
Original 3D Models retrieved from BlueRobotics: BLUEBOAT_120_BR-101447_RevA_PUB