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

Hydrodynamics: add link level buoyancy #62

Closed srmainwaring closed 1 year ago

srmainwaring commented 1 year ago

This PR adds the ability to enable buoyancy and hydrodynamic forces at the link and collision level.

Closes #43

Details

The choice of which entities to apply buoyancy and hydrodynamics forces is controlled using a new parameter <enable>. Usage is similar to the gz-sim-buoyancy-system plugin where the parameter is a fully scoped entity name using a double colon :: as a separator.

The graded_buoyancy example from gz-sim has been modified to work with gz-waves and is added to the examples in gz-waves-models/worlds.

link-level-buoyancy_2