w = Quaternions.angularVelocity1(Q, der_Q);
This function returns the angular velocity w of frame 2 with respect to frame 1, resolved in frame 1, from the quaternions orientation Q that describes the orientation to rotate frame 1 into frame 2 and from its first time derivative der_Q.
Frames.angularVelocity1, TransformationMatrices.angularVelocity1.
function angularVelocity1 extends Modelica.Icons.Function; input Quaternions.Orientation Q "Quaternions orientation object to rotate frame 1 into frame 2"; input der_Orientation der_Q "Derivative of Q"; output Modelica.SIunits.AngularVelocity w[3] "Angular velocity of frame 2 with respect to frame 1 resolved in frame 1"; end angularVelocity1;