Skip to content
Snippets Groups Projects
Commit 315a1baa authored by Henry Weller's avatar Henry Weller
Browse files

rigidBodyDynamics: Simplify handling of quaternions by maintaining a unit...

rigidBodyDynamics: Simplify handling of quaternions by maintaining a unit quaternion in the joint state field 'q'

'w' is now obtained from 'v' using the relation w = sqrt(1 - |sqr(v)|)
and 'v' is stored in the joint state field 'q' and integrated in the
usual manner but corrected using quaternion transformations.
parent 2d2ecf91
Branches
Tags
Showing
with 3 additions and 24 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment