Main Content

simscape.multibody.StandardAxisRotation class

Package: simscape.multibody
Superclasses: simscape.multibody.Rotation

Construct rotation by using standard-axis parameterization

Description

Use an object of the simscape.multibody.StandardAxisRotation class to construct a 3-D rotation by specifying a rotation angle and the corresponding axis of rotation. The axis of rotation is one axis of the base frame. The Axis property specifies the axis of rotation by using a member of the simscape.multibody.Axis class. The Angle property specifies the angle of the rotation.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

R = simscape.multibody.StandardAxisRotation creates a standard-axis rotation with default values.

R = simscape.multibody.StandardAxisRotation(angle,axis) creates a standard-axis rotation with the specified rotation angle and axis of rotation.

Properties

expand all

Angle of rotation, specified as a simscape.Value object that represents a scalar in units of angle.

Example: simscape.Value(2.5,"rad")

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Axis of the rotation, specified as a member of the simscape.multibody.Axis class. To specify the axis, use one of the following members:

  • simscape.multibody.Axis.PosX: x-axis of the base frame

  • simscape.multibody.Axis.NegX: -x-axis of the base frame

  • simscape.multibody.Axis.PosY: y-axis of the base frame

  • simscape.multibody.Axis.NegY: -y-axis of the base frame

  • simscape.multibody.Axis.PosZ: z-axis of the base frame

  • simscape.multibody.Axis.NegZ: -z-axis of the base frame

Example: simscape.multibody.Axis.NegY

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a