srmainwaring / asv_wave_sim

This package contains plugins that support the simulation of waves and surface vessels in Gazebo.
GNU General Public License v3.0
118 stars 32 forks source link

Enable wave and hydrodynamics params in Ignition #18

Closed srmainwaring closed 2 years ago

srmainwaring commented 2 years ago

This PR enables the hydrodynamics and wave parameters when using Ignition

There are changes to the parameters for the Hydrodynamics, WaveModel and WaveVisual plugins. This is documented in the README.

The parameter that allows the wave generation algorithm to be set is not enabled in this PR. The fft algorithm is set by default, however the parameters for the wave tile size, cell count and wind velocity are operational.

Example: varying wind velocity

<wind_velocity>0.005 0</wind_velocity>

v=0 005

<wind_velocity>5 0</wind_velocity>

v=10