Contenido principal

simscape.multibody.JointPrimitive Class

R2026b

Namespace: simscape.multibody

Abstract base class to construct joint primitives

Since R2022a

Description

simscape.multibody.JointPrimitive is the abstract base class for joint primitives, such as prismatic and revolute primitives. Joint primitives are the building blocks for joints. To construct a joint primitive, use a subclass of the simscape.multibody.JointPrimitive class, such as simscape.multibody.PrismaticPrimitive or simscape.multibody.RevolutePrimitive.

The JointPrimitive class has a DegreesOfFreedom property that indicates the degrees of freedom between the base and follower frames of the joint primitive. To specify internal mechanics (springs and dampers) for a joint primitive, use the InternalMechanics property of the specific joint primitive subclass.

Class Attributes

Abstract
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Properties

expand all

Degrees of freedom between the base and follower frames of the joint primitive, returned as a positive integer.

Attributes:

GetAccess
public
NonCopyable
true

Data Types: double

Version History

Introduced in R2022a