-
Notifications
You must be signed in to change notification settings - Fork 276
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
Change an entities visual material color by topic. #2286
Conversation
f05004a
to
cfb0d74
Compare
43578d8
to
fc67f1d
Compare
f83c0ea
to
763e2a3
Compare
@osrf-jenkins run tests please |
7511b61
to
7e62928
Compare
@osrf-jenkins run tests please |
This change allows for a simpler mapping from MaterialColor msg to the much more cumbersome Visual msg, allong for users to rapidly change the colors of a entities visual material color components. This is especially useful for simulating status lighting. Signed-off-by: Benjamin Perseghetti <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Benjamin Perseghetti <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
7e62928
to
4df3989
Compare
Signed-off-by: Benjamin Perseghetti <[email protected]>
4df3989
to
0e23d42
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## gz-sim8 #2286 +/- ##
===========================================
+ Coverage 65.79% 65.92% +0.13%
===========================================
Files 327 327
Lines 31212 31285 +73
===========================================
+ Hits 20536 20625 +89
+ Misses 10676 10660 -16 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Benjamin Perseghetti <[email protected]>
@osrf-jenkins run tests please |
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.
I think the main issue is that the ECM is being used from a transport thread. Otherwise, just minor issues.
Co-authored-by: Addisu Z. Taddese <[email protected]> Signed-off-by: Benjamin Perseghetti <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
571292d
to
89a6367
Compare
Co-authored-by: Addisu Z. Taddese <[email protected]> Signed-off-by: Benjamin Perseghetti <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
9167621
to
22f1c02
Compare
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.
Thanks for iterating!
@ahcorde mind taking a quick look? |
Thanks for the code review! |
🎉 New feature
Summary
This change allows for a simpler mapping from MaterialColor msg in gz to the much more cumbersome Visual msg. By doing this and adding a topic listener it allows users to rapidly change the colors of a entities visual material color components, including from the ROS side using the gz bridge. This is especially useful for simulating status lighting.
Checklist
codecheck
passed (See contributing)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.