Skip to content
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

Implement the python bindings for the iDynTree to manif conversions #610

Merged
merged 3 commits into from
Feb 24, 2023

Conversation

GiulioRomualdi
Copy link
Member

@GiulioRomualdi GiulioRomualdi commented Feb 24, 2023

With this PR it will be possible to write the following code in python

import idyntree.swig as idyn
import bipedal_locomotion_framework as blf

rot_idyn = idyn.Rotation.Identity()
trans_idyn = idyn.Transform.Identity()

so3 = blf.conversions.to_manif_rot(rot_idyn)
se3 = blf.conversions.to_manif_pose(trans_idyn)

@GiulioRomualdi GiulioRomualdi marked this pull request as ready for review February 24, 2023 13:00
Copy link
Member

@S-Dafarra S-Dafarra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it can be good to have tests on this. LGTM anyway

@GiulioRomualdi
Copy link
Member Author

Maybe it can be good to have tests on this. LGTM anyway

You're right. Here the tests: 4a16b5f

@GiulioRomualdi GiulioRomualdi merged commit 49888bc into master Feb 24, 2023
@GiulioRomualdi GiulioRomualdi deleted the bindings/manif_conversion branch February 24, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants