to_QReturn quaternion orientation object Q from orientation object R |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Q = Frames.to_Q(R, Q_guess);
This function returns a quaternion object Q computed from an orientation object R and depending on the initial guess Q_guess.
R |
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 |
---|