Main Content

simscape.multibody.StandardAxisRotation Class

R2026b

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

Construct rotation by using standard-axis parameterization

Since R2022a

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 as a string. 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 string. To specify the axis, use one of the following values:

  • "+X": x-axis of the base frame

  • "-X": -x-axis of the base frame

  • "+Y": y-axis of the base frame

  • "-Y": -y-axis of the base frame

  • "+Z": z-axis of the base frame

  • "-Z": -z-axis of the base frame

Example: "-Y"

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a