gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
621 stars 251 forks source link

Fixed test worlds for underwater simulation of DopplerVelocityLogSystem plugin #2346

Closed sauk2 closed 2 months ago

sauk2 commented 3 months ago

🦟 Bug fix

Fixes #2344

Summary

Running the tests for DopplerVelocityLogSystem plugin results in a blank screen.

Command

  gz sim underwater_currents.sdf --verbose 2

Resulting blank screen image

Solution

After adding the SceneBroadcaster plugin to the world SDF through the following lines

    <plugin
      filename="gz-sim-scene-broadcaster-system"
      name="gz::sim::systems::SceneBroadcaster">
    </plugin>

Running previous Command

  gz sim underwater_currents.sdf --verbose 2

Resulting simulation screen image

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

sauk2 commented 2 months ago

@arjo129 I have pushed the changes in a separate PR #2373. Request you to take a look and provide feedback. If you prefer, you can close this PR.

arjo129 commented 2 months ago

Thanks @sauk2! Closing in favor of #2373.