residue = Quaternions.orientationConstraint(Q);
This function returns the Real residue vector with 1 element only that describes the constraints between the 4 elements of the quaternions orientation Q.
Frames.orientationConstraint, TransformationMatrices.orientationConstraint.
function orientationConstraint extends Modelica.Icons.Function; input Quaternions.Orientation Q "Quaternions orientation object to rotate frame 1 into frame 2"; output Real residue[1] "Residue constraint (shall be zero)"; end orientationConstraint;