-
Notifications
You must be signed in to change notification settings - Fork 32
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
Using quaternion instead of RPY #88
Comments
It sounds like a good idea with a big weigt wrt the software refactoring it will needs. To be honest, I have other priorities than that. |
Duplicates #45 |
I believe we should really start considering this. I believe that once stack-of-tasks/pinocchio#910 is merged the transition will be easier, as there will be automatic size checks in place even for the release version and an exception will be thrown if the configuration vector is of the wrong size. Also, notice that stack-of-tasks/pinocchio#808 suggests introducing a |
Since #188 the whole SoT code has switched to quaternion representation for orientation of the free flyer and \dot{RPY} for the angular velocity. So I will close this issue. |
What is #188 ? |
Currently, the free-flyer configuration is represented as position+RPY. This is the configuration returned by the
device
object, and it is also the configuration expected by sot-dynamic-pinocchio.However, all of our computations are performed using quaternions. In particular, Pinocchio models typically employ quaternions. Passing around RPY values around often forces us to manually convert from RPY to quaternion and vice-versa. Indeed, this is what sot-dynamic-pinocchio itself is doing.
It would be more straightforward to directly pass quaternions around. This might be done even without breaking existing code, by adding redundant input/output signals to sot-dynamic-pinocchio/device
The text was updated successfully, but these errors were encountered: