Closed lrapetti closed 2 years ago
Just to understand, what is the difference between Dynamical Inverse Kinematics
and Inverse Velocity Kinematics
?
Just to understand, what is the difference between
Dynamical Inverse Kinematics
andInverse Velocity Kinematics
?
Dynamical Inverse Kinematics class is solving the IK problem. Inverse Velocity Kinematics instead basically computes the configuration velocity $\nu$ solving the differential kinematics $\mathrm{v}=J\nu$. Indeed, dynamical inverse kinematics uses the inverse velocity kinematics solver for computing the velocity to be integrated.
Just to mention, I took the change also to do some cleaning in HumanStateProvider
:
useXsensJointAngles
option that has never been made completely working, and never used (https://github.com/robotology/human-dynamics-estimation/pull/265/commits/80d8c7af0785c2278f9b835edb28f943138fe4b9)dynamical-inverse-kinematics
class.@lrapetti I have open a PR https://github.com/robotology/human-dynamics-estimation/pull/272 on this branch and fix the problem you mentioned in the first comment.
I have verified that Investigate why QP solver in IK does not work for some robots #167 is happening if setCustomConstraintsJointsValues is not called. While addressing point above we should fix also this
@kouroshD thanks for the review, I have addressed your suggestions, if there are no further comments I would proceed with merging.
Thank you @lrapetti . Looks good to me.
Thank you @lrapetti . Looks good to me.
Great, mergin then!
This PR moves the Dynamical Inverse Kinematics implementation from the
HumanStateProvider
device to theHumanDynamicsEstimationLibrary
.With this PR all the functionalities of the current implementation are ported to the new class replicating the behaviour.
While addressing this refactoring some relevant points and possible improvements have been detected, and some of them addressed:
setCustomConstraintsJointsValues
is not called. While addressing point above we should fix also thisBefore merging