Vector2, 3 and 4 with pybind11#280
Conversation
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
|
I made some changes:
|
|
@scpeters or @chapulina this is ready for a initial review. |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
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 <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
chapulina
left a comment
There was a problem hiding this comment.
This works seamlessly with the ign-gazebo PR, great work!
If we're going to switch from SWIG to pybind11, I think we need to:
- Remove the Python SWIG bindings as we port them to pybind11. We shouldn't end up maintaining both
- Make sure the pybind11 bindings are being installed correctly when we create debs
- It would be nice not to waste all the effort we did to create SWIG bindings. How much effort do you think it would be to move them to the Ruby folder? We don't need to add tests, I think that would be too much work, right?
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
…botics/ign-math into ahcorde/math/pybind11
|
@scpeters this is ready for another review |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
scpeters
left a comment
There was a problem hiding this comment.
just some minor comments related to comments and doc-strings, looks good!
| "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.
nit: leading whitespace in doc-string
scpeters
left a comment
There was a problem hiding this comment.
looks great!
please edit the commit message when squash+merging, thanks!
Ccreated wrappers for Vector2, 3 and 4 with pybind11 Signed-off-by: ahcorde <ahcorde@gmail.com> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
Ccreated wrappers for Vector2, 3 and 4 with pybind11 Signed-off-by: ahcorde <ahcorde@gmail.com> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
Ccreated wrappers for Vector2, 3 and 4 with pybind11 Signed-off-by: ahcorde <ahcorde@gmail.com> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
|
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 ahcorde@gmail.com
🎉 New feature
Summary
This is a draft PR tothat create wrappers for Vector2, 3 and 4 with pybind11
Checklist
codecheckpassed (See contributing)Note to maintainers: Remember to use Squash-Merge