robotology-legacy / kdl_codyco

All code migrated to the iDynTree library.
3 stars 1 forks source link

Introduce world base position/orientation in solvers #19

Closed traversaro closed 8 years ago

traversaro commented 10 years ago

Currently no information about the position/orientation of the base link with respect to the world is considered in the solver/loops. While not necessary for dynamics (if initial velocity/acceleration and residual wrench is expressed in base link reference frame), this is a common requirement for a lot of tasks (floating base jacobians, floating base mass matrix) and is actually implemented as a workaround in iDynTree (and consequently in the yarp implementation of the iWholeBodyModel interface. To avoid errors, improve efficiency and expose base_world functionality also in kdl_codyco solvers is would make sense to move this base world position/orientation logic in kdl_codyco solvers/loops. Current functionality would be preserved by setting input world_base transformation to the identity. To avoid the explosion of the number of input parameters it could make sense to define a "FloatingBasePosition := KDL::Frame X KDL::JntArray" object and a "FloatingBaseMotion := KDL::Twist X KDL::JntArray" .

traversaro commented 10 years ago

Start to work on this in : https://github.com/traversaro/kdl_codyco/commit/37b74f03bb9100b8a66c53003d7a7e1504ec29ee

traversaro commented 8 years ago

The base position/orientation has been added in a lot of interfaces.