-
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
Pose3 return type not valid for pybind11 #1129
Comments
Did you try to import |
Ah no I didn't... that works. Thanks! Should the |
it seems that is not bringing the dependency, I will try to review this when I have some time. Feel free to open a PR and tag me if you find a solution. |
ok failing test here: https://github.com/willstott101/sdformat/runs/8225866161?check_suite_focus=true This seems to fix it: https://github.com/gazebosim/sdformat/compare/sdf13...willstott101:sdformat:devtool?expand=1 |
Hi @willstott101, do you mind to open a PR with your fix ? |
#1130 Opened one - but haven't gone through all the red tape yet - might get round to that some time but really not that interested in filling in a bunch of forms |
Signed-off-by: Will Stott <willstott101@gmail.com>
* python: Don't import more than is used in the tests - should cause a failure due to gz.math not always being imported. * python: Import gz.math at startup to fix #1129 Signed-off-by: Will Stott <willstott101@gmail.com> Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
The fix is merged. Closing this |
Environment
1bf1aa4e511d3efe0f97a6c14048a35dbcde26ce
onsdf13
Description
Steps to reproduce
gz::math::v7::Pose3<double>
such asSemanticPose.resolve
Output
Possible Solution
I suspect gz-math needs to provide python object access as described here: pybind/pybind11#616
This means:
I'm going to see if I can get that to work and will post an example if it does - but I don't think I'll have time to put together a proper PR.
The text was updated successfully, but these errors were encountered: