-
Notifications
You must be signed in to change notification settings - Fork 38
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 QPInverseKinematics python bindings #303
Implement QPInverseKinematics python bindings #303
Conversation
This PR is ready to be reviewed, but it doesn't seem like I have permissions to ask for reviewers. |
The tests are failing https://github.com/dic-iit/bipedal-locomotion-framework/pull/303/checks?check_run_id=2544820147#step:20:211 Did you experience the same failure also on your PC? |
I just tried to run the tests several times on my pc and, after a few successfull runs, they indeed failed (no solution found for the ik). The variability could be due to the (small) random variation of the joint position targets in |
Tests are not failing now in my local configuration, but they are still failing here. Another fix required by this PR concerns the EDIT: I replaced the initialization and the pytests on |
bindings/python/FloatingBaseEstimators/src/FloatingBaseEstimators.cpp
Outdated
Show resolved
Hide resolved
src/Estimators/include/BipedalLocomotion/FloatingBaseEstimators/ModelComputationsHelper.h
Outdated
Show resolved
Hide resolved
bindings/python/FloatingBaseEstimators/src/FloatingBaseEstimators.cpp
Outdated
Show resolved
Hide resolved
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.
I need another pass, first few minor comments
bindings/python/FloatingBaseEstimators/tests/test_legged_odometry.py
Outdated
Show resolved
Hide resolved
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.
I'm going to approve the PR even though I'd like to have another zoom-out pass. Well done @paolo-viceconte!
bindings/python/FloatingBaseEstimators/src/FloatingBaseEstimators.cpp
Outdated
Show resolved
Hide resolved
bindings/python/FloatingBaseEstimators/src/FloatingBaseEstimators.cpp
Outdated
Show resolved
Hide resolved
bindings/python/FloatingBaseEstimators/src/FloatingBaseEstimators.cpp
Outdated
Show resolved
Hide resolved
bindings/python/FloatingBaseEstimators/tests/test_legged_odometry.py
Outdated
Show resolved
Hide resolved
Feel free to mark as solved addressed comments so we have less clutter in the PR. |
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!
bindings/python/FloatingBaseEstimators/src/FloatingBaseEstimators.cpp
Outdated
Show resolved
Hide resolved
Let's wait for the CI if there are no problems I will merge it |
Conda is failing with this error: @traversaro , is it due to conda-forge/manif-feedstock#9 ? |
The CI fails also because of #364 I will take care of the modification |
ce94247
to
a8022f1
Compare
thanks @GiulioRomualdi! |
conda-forge/manif-feedstock#11 should fix the CI failure |
Merged, it should probably take the usual 1/1.5 hours for CDN to propagate. |
The conda CI is passing. The windows one is still failing but it is not related to this PR. I'm currently debugging the issue here: #374 I think it's time to merge the PR. |
This PR implements python bindings for the
QPInverseKinematics
class, which basically required to:KinDynDescriptor
class in order to be able to set the state of the kinDyn object (this code will be moved via MoveKinDynComputationsDescriptor
from Estimators component into a different component #293)LinearTask
class and the derived tasks (CoMTask
,SE3Task
,SO3Task
,JointTrackingTask
)IntegrationBasedIK
and theQPInverseKinematics
classesTests for all the implemented bindings are provided.