Main Content

simscape.multibody.AlignedAxesRotation Class

Namespace: simscape.multibody
Superclasses: simscape.multibody.Rotation

Construct rotation by using aligned-axes parameterization

Since R2022a

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-axis

  • simscape.multibody.Axis.NegX: -x-axis

  • simscape.multibody.Axis.PosY: y-axis

  • simscape.multibody.Axis.NegY: -y-axis

  • simscape.multibody.Axis.PosZ: z-axis

  • simscape.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

R = simscape.multibody.AlignedAxesRotation creates an aligned-axes rotation with default values.

R = simscape.multibody.AlignedAxesRotation(followeraxis1,base1,followeraxis2,base2) creates an aligned-axes rotation with the specified axes.

Properties

expand all

First axis of the follower frame, specified as a member of the simscape.multibody.Axis class.

Example: simscape.multibody.Axis.NegY

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

First axis of the base frame, specified as a member of the simscape.multibody.Axis class.

Example: simscape.multibody.Axis.NegY

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Second axis of the follower frame, specified as a member of the simscape.multibody.Axis class.

Example: simscape.multibody.Axis.NegZ

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Second axis of the base frame, specified as a member of the simscape.multibody.Axis class.

Example: simscape.multibody.Axis.NegZ

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a