simscape.multibody.AlignedAxesRotation Class
Namespace: simscape.multibody
Superclasses: simscape.multibody.Rotation
Description
Use an object of the simscape.multibody.AlignedAxesRotation
class to
construct a 3-D rotation by setting the two axes of the follower frame align with two axes of
the base frame. Use the properties of the AlignedAxesRotation
class to specify
the desired axes with members of the simscape.multibody.Axis
class:
simscape.multibody.Axis.PosX
: x-axissimscape.multibody.Axis.NegX
: -x-axissimscape.multibody.Axis.PosY
: y-axissimscape.multibody.Axis.NegY
: -y-axissimscape.multibody.Axis.PosZ
: z-axissimscape.multibody.Axis.NegZ
: -z-axis
The axis specified by the FollowerAxis1
property aligns with the axis
specified by the BaseAxis1
property, and the axis specified by the
FollowerAxis2
property aligns with the axis specified by the
BaseAxis2
property.
Note that the axes specified by the BaseAxis1
and
BaseAxis2
properties must not be parallel, and the axes specified by
the FollowerAxis1
and FollowerAxis2
must not be
parallel.
Class Attributes
Sealed | true |
ConstructOnLoad | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
Creation
Description
creates an aligned-axes rotation with default values.R
= simscape.multibody.AlignedAxesRotation
creates an aligned-axes rotation with the specified axes.R
= simscape.multibody.AlignedAxesRotation(followeraxis1
,base1
,followeraxis2
,base2
)
Properties
Version History
Introduced in R2022a