Skip to content
Snippets Groups Projects
Commit df1cb90d 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 4197cb07
1 merge request!33Merge foundation
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