Skip to content
Discussion options

You must be logged in to vote

A helper could be useful, especially if the goal is to make the quaternion formulation easier to set up in KanesMethod. I would make the rotation convention explicit, though: three angles alone do not determine a unique quaternion unless the axis order and whether the rotations are body-fixed or space-fixed are specified. The meaning of speeds also needs to be clear: are these Euler-angle derivatives, or components of angular velocity in a chosen frame? Those are not interchangeable in general.

SymPy Mechanics already lets you describe the same frame using either Euler rotations or quaternion coordinates, e.g. B.orient_body_fixed(N, angles, 'XYZ') versus B.orient_quaternion(N, q0, q1, q2,…

Replies: 2 comments 1 reply

This comment was marked as disruptive content.

@moorepants
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants