Open
Description
Hi Rhys,
I stumbled across some odd behaviour...
Issue
If the wind_speed
parameter is set to a number between approximately 0.26 and 0.39 the waves fail to spawn in Gazebo.
Minimal example
Set wind_speed
to 0.3 in the 'WavesModel' and 'WavesVisual' plugins of 'gz-waves-models/world_models/waves/model.sdf':
<wave>
<!-- `fft` wave parameters -->
<algorithm>fft</algorithm>
<tile_size>256</tile_size>
<cell_count>256</cell_count>
<wind_speed>0.3</wind_speed>
<wind_angle_deg>135</wind_angle_deg>
<steepness>2</steepness>
</wave>
Re-build and run waves.sdf
:
colcon build --merge-install
gz sim -v4 waves.sdf
The waves don't appear and all objects fall:
Note: I removed the wam-v to avoid setting up ArduPilotPlugin in a minimal environment.
There were no unusual messages in the output, so I wouldn't know where to start looking for the problem.
Check
Resetting wind_speed
to 5.0 and re-running gz sim waves.sdf
, everything looks fine:
Any idea what might be causing particular values of wind_speed
to fail?
Thanks for the great package.
Regards,
Ellen
Metadata
Metadata
Assignees
Labels
No labels