Add support for configuring point size in Visualize Lidar GUI plugin #1021
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎉 New feature
depends on gazebosim/gz-rendering#392
Summary
Added a spin box for configuring size of lidar point visualization in
Visualize Lidar
plugin. Note it only affectsPoint
visualization type. Works forogre
andogre2
render engine.Test it
Launch an example world with gpu ray sensor, e.g.:
Open the
Visualize Lidar
GUI plugin by going to the top right menu (3 vertical dots), scroll down and click onVisualize Lidar
.Unpause the simulation by hitting the play button
Refresh the topic drop down list and select the
/lidar
topicSelect
Points
Visual Type to see the default point visualization with size1
Change
Point Size
to5
and hit Enter to see larger points.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge