-
Notifications
You must be signed in to change notification settings - Fork 67
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
Vector2, 3 and 4 with pybind11 #280
Conversation
Signed-off-by: ahcorde <[email protected]>
I made some changes:
|
@scpeters or @chapulina this is ready for a initial review. |
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-math6 #280 +/- ##
==========================================
Coverage 99.65% 99.65%
==========================================
Files 67 67
Lines 6359 6359
==========================================
Hits 6337 6337
Misses 22 22
Continue to review full report at Codecov.
|
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[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.
just some minor comments related to comments and doc-strings, looks good!
src/python_pybind11/src/Vector3.hh
Outdated
"Return the absolute dot product of this vector and " | ||
"another vector. This is similar to the Dot function, except the " | ||
"absolute value of each component of the vector is used.") | ||
.def("abs", &Class::Abs, " Get the absolute value of the vector") |
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: leading whitespace in doc-string
Signed-off-by: ahcorde <[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.
looks great!
please edit the commit message when squash+merging, thanks!
Ccreated wrappers for Vector2, 3 and 4 with pybind11 Signed-off-by: ahcorde <[email protected]> Co-authored-by: Steve Peters <[email protected]>
Ccreated wrappers for Vector2, 3 and 4 with pybind11 Signed-off-by: ahcorde <[email protected]> Co-authored-by: Steve Peters <[email protected]>
Ccreated wrappers for Vector2, 3 and 4 with pybind11 Signed-off-by: ahcorde <[email protected]> Co-authored-by: Steve Peters <[email protected]>
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-03-01-citadel-edifice-fortress/1313/1 |
Signed-off-by: ahcorde [email protected]
🎉 New feature
Summary
This is a draft PR tothat create wrappers for Vector2, 3 and 4 with pybind11
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge