You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ellen-thaum, thanks for the report. I can reproduce the issue on macOS. If the simulation is started in the paused state it's clear that the wave mesh is not generated which is why the objects fall through the surface.
If the simulation is already running and the wind scale is changed using the WaveControl widget the mesh remains and objects stay on the surface. The waves stop when the wind parameter drops below ~1, then resume when it is increased again. I'd previously thought this was simply because the amplitude scale was too small to notice the waves, but it's apparent that something else is going on as well.
I suspect there is an overflow somewhere in the spectrum generator or spreading function when the wind parameter is small - I'll investigate.
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':Re-build and run
waves.sdf
:The waves don't appear and all objects fall:
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-runninggz 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
The text was updated successfully, but these errors were encountered: