Skip to content

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Mar 27, 2025

🎉 New feature

Closes #

Summary

Not sure if we have tutorial for environment sensors but it took me some time to understand how to use the GUI plugins associated with the environment gz-sim systems. We should probably add a tutorial for this. In the mean time, I added some doc to the example world file.

I also moved the EnvironmentalSystem system below the EnvironmentPreload otherwise it prints out a confusing error message:

error] [EnvironmentalSensorSystem.cc:460] No sensor data loaded

This message is actually harmless because it will retry on PostUpdate and succeeds once EnvironmentPreload system is loaded. I rearranged the order of the systems so that the data is ready before loading the EnvironmentalSystem system

Test it

Follow the instructions in the updated environmental_sensor.sdf world and you should point cloud visualization in the 3D scene:

environment_visualization

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.

Signed-off-by: Ian Chen <ichen@openrobotics.org>
@iche033 iche033 requested a review from mjcarroll as a code owner March 27, 2025 23:58
@github-actions github-actions bot added the 🪵 jetty Gazebo Jetty label Mar 27, 2025
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Mar 28, 2025
@iche033 iche033 merged commit 2aaa0ed into main Mar 28, 2025
8 of 9 checks passed
@iche033 iche033 deleted the environment_sensor_world_doc branch March 28, 2025 23:49
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Mar 28, 2025
@iche033
Copy link
Contributor Author

iche033 commented Mar 28, 2025

@Mergifyio backport gz-sim9 gz-sim8

@mergify
Copy link
Contributor

mergify bot commented Mar 28, 2025

backport gz-sim9 gz-sim8

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Mar 28, 2025
Signed-off-by: Ian Chen <ichen@openrobotics.org>
(cherry picked from commit 2aaa0ed)
mergify bot pushed a commit that referenced this pull request Mar 28, 2025
Signed-off-by: Ian Chen <ichen@openrobotics.org>
(cherry picked from commit 2aaa0ed)
@arjo129
Copy link
Contributor

arjo129 commented Apr 1, 2025

Lol, I wrote one ages ago: #1806

Maybe I'll go in and finish that up.

@iche033
Copy link
Contributor Author

iche033 commented Apr 1, 2025

Lol, I wrote one ages ago: #1806

Maybe I'll go in and finish that up.

oh nice! I missed that. Yeah would be good to get that in, but no hurry.

iche033 added a commit that referenced this pull request Apr 1, 2025
Signed-off-by: Ian Chen <ichen@openrobotics.org>
(cherry picked from commit 2aaa0ed)
iche033 added a commit that referenced this pull request Apr 1, 2025
Signed-off-by: Ian Chen <ichen@openrobotics.org>
(cherry picked from commit 2aaa0ed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants