-
Notifications
You must be signed in to change notification settings - Fork 95
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 Light Python interface #989
Conversation
Signed-off-by: ahcorde <ahcorde@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #989 +/- ##
=======================================
Coverage 66.66% 66.66%
=======================================
Files 2 2
Lines 27 27
=======================================
Hits 18 18
Misses 9 9 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.
LGTM! Just a few minor comments
python/test/pyLight_TEST.py
Outdated
class LightColor(unittest.TestCase): | ||
|
||
def test_default_construction(self): | ||
light = Light() |
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.
Indent with 4 spaces
python/test/pyLight_TEST.py
Outdated
self.assertFalse(semanticPose.relative_to()) | ||
pose = Pose3d() | ||
# expect errors when trying to resolve pose | ||
self.assertTrue(semanticPose.resolve(pose)) |
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.
Consider using len
for errors for clarity
python/test/pyLight_TEST.py
Outdated
self.assertEqual("world", semanticPose.relative_to()) | ||
pose = Pose3d() | ||
# expect errors when trying to resolve pose | ||
self.assertTrue(semanticPose.resolve(pose)) |
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.
Consider using len
for errors for clarity
Signed-off-by: ahcorde <ahcorde@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #989 +/- ##
=======================================
Coverage 66.66% 66.66%
=======================================
Files 2 2
Lines 27 27
=======================================
Hits 18 18
Misses 9 9 Continue to review full report at Codecov.
|
All the commits are signed, but it seems like the DCO bot is not running. I'll override and merge. |
Signed-off-by: ahcorde ahcorde@gmail.com
🎉 New feature
This PR is part of this mete ticket #931
Summary
Added Light 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.