robotology / idyntree

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

Document semantics difference between Pinocchio quantities and iDynTree KinDynComputations quantities #674

Open traversaro opened 4 years ago

traversaro commented 4 years ago

Things to check (see https://github.com/robotology/idyntree/issues/673#issuecomment-615168900) :

traversaro commented 4 years ago

cc @GiulioRomualdi

traversaro commented 4 years ago

Related issues:

GiulioRomualdi commented 4 years ago

Before I forgot I want to drop here this table of conversion:

iDynTree Pinocchio
MIXED_REPRESENTATION LOCAL_WORLD_ALIGNED
INERTIAL_FIXED_REPRESENTATION WORLD
BODY_FIXED_REPRESENTATION LOCAL
DanielePucci commented 4 years ago

CC @robotology/iit-dynamic-interaction-control

traversaro commented 2 years ago

Before I forgot I want to drop here this table of conversion:

Updated version to be self-contained. Assumptions:

iDynTree Pinocchio Math
MIXED_REPRESENTATION LOCAL_WORLD_ALIGNED (ᵃȯₑ , ( ᵃṘₑ ᵃRₑᵀ )ᵛ ) .
INERTIAL_FIXED_REPRESENTATION WORLD (ᵃȯₑ - (ᵃṘₑ ᵃRₑᵀ) ᵃoₑ , ( ᵃṘₑ ᵃRₑᵀ )ᵛ ) .
BODY_FIXED_REPRESENTATION LOCAL (ᵃRₑᵀ ᵃȯₑ , ( ᵃRₑᵀ ᵃṘₑ )ᵛ ) .

Sources and derivation for the equations:

Related Pinocchio issues: