Main Content

cartesianOffset

Class: simscape.multibody.Translation
Package: simscape.multibody

Extract offset from translation

Description

d = cartesianOffset(T) extracts the offset of the specified translation, T, and returns the offset in terms of Cartesian coordinates. The offset is resolved in the base frame of the translation.

Input Arguments

expand all

Translation to extract, specified as an object of a subclass of the simscape.multibody.Translation class.

Output Arguments

expand all

Offset of the translation, returned as a simscape.Value object that represents a 1-by-3 array with units of length. The units of the offset match the length unit used in the object specified by the T input argument. If T uses multiple length units, the offset uses the coarsest length unit. If T does not have a unit, the offset uses meters.

Attributes

Accesspublic

To learn about attributes of methods, see Method Attributes.

Version History

Introduced in R2022a