Skip to content
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

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

Open
traversaro opened this issue Apr 20, 2020 · 5 comments
Assignees

Comments

@traversaro
Copy link
Member

traversaro commented Apr 20, 2020

Things to check (see #673 (comment)) :

  • DOFs and link serializations
  • Velocity, force and acceleration representations for the base quantities
  • How we need to transform the vector and matrix input and output quantities appropriately given these differences
@traversaro
Copy link
Member Author

cc @GiulioRomualdi

@GiulioRomualdi
Copy link
Member

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
Copy link
Collaborator

CC @robotology/iit-dynamic-interaction-control

@traversaro
Copy link
Member Author

traversaro commented Mar 26, 2022

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

Updated version to be self-contained. Assumptions:

  • we have two frame a and e, and the transform between this two frames is represented by ᵃRₑ ∈ SO(3) ᵃoₑ ∈ ℝ³
  • (.)ᵛ represents the mapping between the skew-symmetrix matrix and the related vector in ℝ³, i.e. such that if u,v ∈ ℝ³, u = (U)ᵛ s.t. U v = u × v
  • the dot represent the usual mathematical analysis dot operator (time derivative) and not the Featherstone one then the different velocities are:
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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants