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

Generalized velocity of the floating base #1357

Closed
mayataka opened this issue Dec 13, 2020 · 2 comments
Closed

Generalized velocity of the floating base #1357

mayataka opened this issue Dec 13, 2020 · 2 comments

Comments

@mayataka
Copy link

Hi all,

I want to know which reference frame the generalized velocity of the floating base is actually represented.
In #1122, the translation velocity of the floating base seems expressed in the WORLD frame.
However, in #1137, it seems expressed in the LOCAL frame (and the angular velocity seems also in the LOCAL frame), and I'm confused.
This point is important to simulate a controller based on Pinocchio on the other rigid-body simulators.
I'd appreciate it if you tell me this point.

@jcarpent
Copy link
Contributor

The placement variable in Pinocchio is following this convention: (t,R) \in SE(3), with t being the translation expressed in the WORLD frame (antecedent frame)
For the generalized velocity, we follow the convention of Featherstone to express it in the local Frame of the joint.
To get the expression in the World coordinate system centered on the base frame, you just need to rorate the Linear and Angular vectors using the R rotation matrix.

@mayataka
Copy link
Author

Thank you very much!
I understood completely :)

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

2 participants