-
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
More world APIs, helper function ComponentData #378
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo3 #378 +/- ##
===============================================
+ Coverage 77.21% 77.30% +0.09%
===============================================
Files 203 205 +2
Lines 10963 11018 +55
===============================================
+ Hits 8465 8518 +53
- Misses 2498 2500 +2
Continue to review full report at Codecov.
|
Signed-off-by: Louise Poubel <[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.
A few questions.
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]> Signed-off-by: Guillaume Doisy <[email protected]>
See the added tutorial for the new APIs.
Also added the
EntityComponentManager::ComponentData
helper function that returnsstd::nullopt
if the entity doesn't have that component. It's a bit redundant that the user needs to pass 2 template arguments, but I couldn't find a better way.Part of solving #325