-
Notifications
You must be signed in to change notification settings - Fork 107
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
Added Particle Emitter Python interface #999
Conversation
Signed-off-by: ahcorde <ahcorde@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #999 +/- ##
==========================================
- Coverage 83.39% 83.23% -0.16%
==========================================
Files 151 152 +1
Lines 18490 18594 +104
==========================================
+ Hits 15419 15477 +58
- Misses 3071 3117 +46
Continue to review full report at Codecov.
|
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.
Looks great. Just a few minor comments
python/src/sdf/pyParticleEmitter.cc
Outdated
#include "sdf/Box.hh" | ||
#include "sdf/Capsule.hh" | ||
#include "sdf/Cylinder.hh" | ||
#include "sdf/Ellipsoid.hh" |
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 don't think we need all the other headers
#include "sdf/Box.hh" | |
#include "sdf/Capsule.hh" | |
#include "sdf/Cylinder.hh" | |
#include "sdf/Ellipsoid.hh" | |
#include "sdf/ParticleEmitter.hh" |
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.
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.
nit: The headers below ParticleEmitter
can be removed as well.
Signed-off-by: ahcorde <ahcorde@gmail.com>
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.
One last minor comment, otherwise LGTM!
python/src/sdf/pyParticleEmitter.cc
Outdated
#include "sdf/Box.hh" | ||
#include "sdf/Capsule.hh" | ||
#include "sdf/Cylinder.hh" | ||
#include "sdf/Ellipsoid.hh" |
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.
nit: The headers below ParticleEmitter
can be removed as well.
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde ahcorde@gmail.com
🎉 New feature
This PR is part of this meta ticket #931
Summary
Added Particle Emitter Python interface
Test it
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.