simscape.multibody.QuaternionRotation Class
Namespace: simscape.multibody
Superclasses: simscape.multibody.Rotation
Description
Use an object of the simscape.multibody.QuaternionRotation
class to
construct a 3-D rotation by using a quaternion
object. A
quaternion
object is a four-element unit vector,
,
where:
,
and
.
θ is the angle of rotation and [Ux,
Uy,
Uz] is the unit vector of the rotational axis. Note that for any given rotation,
there are two quaternions that are negatives of each other, but represent the same rotation.
For example, the quaternions [1
0
0
0
] and [-1
0
0
0
] both represent the identity rotation.
Class Attributes
Sealed | true |
ConstructOnLoad | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
Creation
Description
creates a rotation with default quaternion.R
= simscape.multibody.QuaternionRotation
creates a rotation with the specified quaternion.R
= simscape.multibody.QuaternionRotation(Q
)
Properties
Version History
Introduced in R2022a
See Also
simscape.multibody.Rotation
| quaternion
(Robotics System Toolbox)