-
Notifications
You must be signed in to change notification settings - Fork 277
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 tutorial on migrating the Light class from gazebo classic #1931
Conversation
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo6 #1931 +/- ##
===============================================
+ Coverage 64.99% 65.31% +0.32%
===============================================
Files 324 327 +3
Lines 26562 26878 +316
===============================================
+ Hits 17264 17556 +292
- Misses 9298 9322 +24
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Some fixes and comments.
* [ignition/gazebo/SdfEntityCreator.hh](https://gazebosim.org/api/gazebo/6/SdfEntityCreator_8hh.html) | ||
* [ignition/gazebo/EntityComponentManager.hh](https://gazebosim.org/api/gazebo/6/classignition_1_1gazebo_1_1EntityComponentManager.html) | ||
|
||
It's worth remembering that most of this functionality can be performed using |
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.
Can we elaborate a bit on this? How should someone use the EntityComponentManager
to access to the light functionality?
tutorials/migration_light_api.md
Outdated
SetSpecularColor | `ignition::gazebo::Light::SetSpecularColor` | ||
SetSpotFalloff | `ignition::gazebo::Light::SetSpotFalloff` | ||
SetSpotInnerAngle | ignition::gazebo::Light::SetSpotInnerAngle` | ||
SetSpotOuterAngle | ignition::gazebo::Light::SetSpotOuterAngle` |
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.
SetSpotOuterAngle | ignition::gazebo::Light::SetSpotOuterAngle` | |
SetSpotOuterAngle | `ignition::gazebo::Light::SetSpotOuterAngle` |
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.
fixed 4320596
RemoveChildren | Not supported | ||
SetParent | TODO | ||
SetWorld | TODO | ||
|
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 assume that is currently no possible to use a write-like method in Gazebo, is this correct? If so, we can mention it.
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.
yep, added a note mentioning they are not implemented yet. 20d0011
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
thanks for the review! If the changes look fine, I'll apply them to my other tutorial PRs |
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 @iche033 . Looks great!
🎉 New feature
Part of #325
Summary
Add migration tutorial for Gazebo classic's Light class.
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.