Skip to content

About \dot {q} in Pinocchio #2248

Answered by ManifoldFR
Czworldy asked this question in Q&A
Discussion options

You must be logged in to vote

Hello ! Thanks for your interest in Pinocchio.

If you have a floating-base robot defined using the free-flyer joint model, then the corresponding part of the $q$ configuration vector is actually the xyz for the base position followed by the 4D quaternion corresponding the orientation of the robot (so, not the Euler angles). Notably, this means the part of $q$ you want is actually qPinocchio.head<7>(). Pinocchio does not use Euler angles, but the appropriate double-covering quaternion representation (although you can convert between these representations using tools provided in the library).

For the velocity and acceleration vectors $v$ you'll get the 6D $(v_x,v_y,v_z,\omega_x,\omega_y,\om…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Czworldy
Comment options

Answer selected by jcarpent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2243 on May 28, 2024 21:33.