-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SetSize API for LidarVisual #392
Conversation
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #392 +/- ##
==========================================
- Coverage 58.65% 58.54% -0.12%
==========================================
Files 174 174
Lines 17278 17345 +67
==========================================
+ Hits 10134 10154 +20
- Misses 7144 7191 +47
Continue to review full report at Codecov.
|
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Can we also make the point size in markers configurable? 🙏
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
I created pull request #403 for setting marker point size. I notice that we don't have any gui plugin or msg field to configure the point size though. That may be a good feature to add afterwards. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I played with the example to change the value passed in to the SetSize
call, and things behaved as expected with both ogre and ogre2. When running the example with ogre2, I saw the Error casting user data: Unexpected index
message, but this went away when I tested the example with #396.
I left a few minor comments, and wouldn't mind having one more person take a look at this to confirm that the usage of materials/shaders here is okay.
Signed-off-by: Ian Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned before, it'd be nice to have at least one more set of eyes on this since my rendering knowledge is still fairly elementary. But, from what I tested/reviewed, LGTM!
Signed-off-by: Ian Chen <[email protected]>
* add set size for lidar visual Signed-off-by: Ian Chen <[email protected]> * update unit test Signed-off-by: Ian Chen <[email protected]> * fix warnings Signed-off-by: Ian Chen <[email protected]> * ogre2 working Signed-off-by: Ian Chen <[email protected]> * testing homewbrew Signed-off-by: Ian Chen <[email protected]> * more testing homebrew Signed-off-by: Ian Chen <[email protected]> * test arb extension Signed-off-by: Ian Chen <[email protected]> * testing no extension Signed-off-by: Ian Chen <[email protected]> * fixing windows Signed-off-by: Ian Chen <[email protected]> * fixing windows Signed-off-by: Ian Chen <[email protected]> * update doc Signed-off-by: Ian Chen <[email protected]> * fixes Signed-off-by: Ian Chen <[email protected]> * update doc Signed-off-by: Ian Chen <[email protected]> * Add SetSize API for Marker point size (gazebosim#403) Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Louise Poubel <[email protected]> Signed-off-by: William Lew <[email protected]>
Signed-off-by: Ian Chen [email protected]
🎉 New feature
Summary
Support setting point size for lidar visual.
Currently working for ogre 1.x only. I still need to figure out how to make it work with the ogre2 hlms system.Update: ogre2 is now working - updated to use ogre low level materials.
Test it
2
to toggle to point rendering and see the points are now slightly larger than before (size increased from 1 to 5):Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge