WOLFRAM SYSTEM MODELER
to_QReturn quaternion orientation object Q from orientation object T |
SystemModel["Modelica.Mechanics.MultiBody.Frames.TransformationMatrices.to_Q"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Q = TransformationMatrices.to_Q(T, Q_guess);
This function returns a quaternion object Q computed from a transformation matrix T and depending on the initial guess Q_guess.
T |
Type: Orientation Description: Orientation object to rotate frame 1 into frame 2 |
---|---|
Q_guess |
Default Value: Quaternions.nullRotation() Type: Orientation Description: Guess value for output Q (there are 2 solutions; the one closer to Q_guess is used |
Q |
Type: Orientation Description: Quaternions orientation object to rotate frame 1 into frame 2 |
---|