robotology / idyntree

Multibody Dynamics Library designed for Free Floating Robots
BSD 3-Clause "New" or "Revised" License
176 stars 67 forks source link

Implement yarpWholeBodyModel without depending on KDL #93

Closed traversaro closed 7 years ago

traversaro commented 8 years ago

Not a priority at the moment, but given that we did a lot of improvement to be the algorithms implemented using only iDynTree data structures with natural bindings in Matlab, I think it would be nice to track what we miss to be able to drop dependency on KDL in yarpWholeBodyInterface .

cc @nunoguedelha @naveenoid

traversaro commented 8 years ago

Regarding the second point:

In general, find a clean way to address the relation between featherstone-style algorithms, in which the base velocity/acceleration/wrench and the link velocity/acceleration/wrench are expressed in a local frame and with spatial accelerations, and the DynamicsComputations/ yarpWholeBodyInterface convention in which quantities are expressed with respect to the local origin, but with the world orientation, and this accelerations are classical.

The good old @ahoarau implemented a solver in KDL in https://github.com/orocos/orocos_kinematics_dynamics/pull/64 in which the used convention can be changed with call to a specific method. This is indeed a good idea and we could to the same thing in the DynamicsComputations class (in our case this will change also the convention used for the floating base velocity/acceleration).

traversaro commented 7 years ago

Final switch happening in https://github.com/robotology/yarp-wholebodyinterface/pull/63 . The mechanism to switch between different velocity representation is done via the setFrameVelocityRepresentation method.