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
114 stars 31 forks source link

Add GUI plugin to control wave environment #31

Closed srmainwaring closed 2 years ago

srmainwaring commented 2 years ago

This PR adds a GUI plugin to control the wave environment. This version allows the wind speed and wind angle parameters for the ECKV cosine-2S spectrum to be adjusted at run time.

There are placeholders for toggling the waterline, water patch and submerged triangle marker visuals, but they are not activated in this PR.

Closes #30

Usage

Build:

$ cd ~/ign_ws/src/asv_wave_sim/ign-marine/src/gui/plugins/waves_control
$ mkdir build && cd build
$ cmake ..
$ make

Configure:

$ cd ~/ign_ws/src/asv_wave_sim/ign-marine/src/gui/plugins/waves_control/build
$ export IGN_GUI_PLUGIN_PATH=$IGN_GUI_PLUGIN_PATH:$(pwd)

Run:

From the sidebar menu select Waves Control

WavesGUIPluginPrototype