メインコンテンツ

jointPrimitiveActuationForceTorque

Class: simscape.multibody.CompiledMultibody
Namespace: simscape.multibody

Return actuation force or torque of joint primitive

Since R2025a

Description

[act] = jointPrimitiveActuationForceTorque(cmb,jointPrimitive,dynamicsResult) returns the actuation force or torque of the specified joint primitive in the given dynamics results. The dynamicsResult argument represented by a simscape.multibody.DynamicsResult object contains the dynamics results of a multibody model. The object must be generated from the same simscape.multibody.CompiledMultibody object that represents cmb.

You can query the actuation force of the prismatic joint primitive and the actuation torque of the revolute joint primitive.

Input Arguments

expand all

Compiled multibody system, specified as a simscape.multibody.CompiledMultibody object.

Path of the joint primitive, specified as a string scalar or character vector. Separate the path elements by using forward slashes.

Example: "Bottom_Right_Joint/Rz"

Dynamics results of the multibody model, specified as a simscape.multibody.DynamicsResult object.

Output Arguments

expand all

Acceleration of the joint primitive, returned as a simscape.Value object. The form of the value depends on the type of the joint primitive:

Primitive TypeType of Returned Position
Revolutesimscape.Value object that represents a scalar with a unit of torque
Prismaticsimscape.Value object that represents a scalar with a unit of force

Attributes

Accesspublic

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2025a