|
SuperDex Physics C++ API
|
Information describing an articulated shape's kinematic structure. More...
#include <mochi_structs.h>
Public Attributes | |
| Span< ArticulatedCycleJoint const > | cycles |
| Cycle joints creating closed kinematic loops in the articulated body. | |
| Span< ArticulatedDofInfo const > | dofInfo |
| DoF information of each joint (offset within the full pose, number of translation DoFs, number of rotation DoFs). | |
| Span< Real3 const > | jointAxes |
| Axis of each joint in the joint's local frame. | |
| Span< TransformRT const > | jointFromChildLink |
| Transform from each joint's child link to the joint frame (rotation + translation). | |
| Span< Real3 const > | jointMaxLimits |
| Maximum joint limits for each joint DoF. | |
| Span< Real3 const > | jointMinLimits |
| Minimum joint limits for each joint DoF. | |
| Span< DynamicString const > | jointNames |
| Name of each joint. | |
| Span< ArticulatedJointType const > | jointTypes |
| Type of each joint. | |
| Span< DynamicString const > | linkNames |
| Name of each link. | |
| Span< TransformRT const > | parentLinkFromJoint |
| Joint frame of each joint expressed in its parent link's local frame (rotation + translation). | |
| Span< int const > | parents |
| Parent link indices defining a tree-like joint structure with no cycles. | |
| Span< TransformRT const > | rootFromLinksAtRest |
| Rotation and translation of each link in rest configuration relative to the local reference system of the articulated shape. | |
Information describing an articulated shape's kinematic structure.
Provides read-only access to an articulated shape's links, joints, and hierarchy. This information is immutable once the shape is created and defines the articulation's topology and configuration limits.
Definition at line 86 of file mochi_structs.h.
| Span<ArticulatedCycleJoint const> superdex::ArticulatedShapeInfo::cycles |
Cycle joints creating closed kinematic loops in the articulated body.
Definition at line 95 of file mochi_structs.h.
| Span<ArticulatedDofInfo const> superdex::ArticulatedShapeInfo::dofInfo |
DoF information of each joint (offset within the full pose, number of translation DoFs, number of rotation DoFs).
Size must be numLinks + numCycles.
Definition at line 99 of file mochi_structs.h.
Axis of each joint in the joint's local frame.
Size must be numLinks + numCycles.
Definition at line 97 of file mochi_structs.h.
| Span<TransformRT const> superdex::ArticulatedShapeInfo::jointFromChildLink |
Transform from each joint's child link to the joint frame (rotation + translation).
Size must be numLinks + numCycles.
This is the transform from the child link to the joint. ArticulatedLinkParams::parentJointFromLink for tree joints and ArticulatedCycleJointParams::jointFromChildLink for cycle joints. The joint axis (jointAxes) and joint motion are interpreted in this joint frame.
Definition at line 101 of file mochi_structs.h.
Maximum joint limits for each joint DoF.
Size must be numLinks + numCycles, or empty if no joint has limits.
Limits are defined for either all joints or none. Joints without maximum limits are indicated by jointMaxLimits[i] = superdex::kInf3. For 1D joints, limits are the scalar maximum limits multiplied by the joint axis. For 3D joints, each component defines the limit along one of the axes of the joint.
Definition at line 107 of file mochi_structs.h.
Minimum joint limits for each joint DoF.
Size must be numLinks + numCycles, or empty if no joint has limits.
Limits are defined for either all joints or none. Joints without minimum limits are indicated by jointMinLimits[i] = -superdex::kInf3. For 1D joints, limits are the scalar minimum limits multiplied by the joint axis. For 3D joints, each component defines the limit along one of the axes of the joint.
Definition at line 105 of file mochi_structs.h.
| Span<DynamicString const> superdex::ArticulatedShapeInfo::jointNames |
Name of each joint.
Size must be numLinks + numCycles.
Definition at line 109 of file mochi_structs.h.
| Span<ArticulatedJointType const> superdex::ArticulatedShapeInfo::jointTypes |
Type of each joint.
Size must be numLinks + numCycles.
Definition at line 93 of file mochi_structs.h.
| Span<DynamicString const> superdex::ArticulatedShapeInfo::linkNames |
Name of each link.
Definition at line 89 of file mochi_structs.h.
| Span<TransformRT const> superdex::ArticulatedShapeInfo::parentLinkFromJoint |
Joint frame of each joint expressed in its parent link's local frame (rotation + translation).
Size must be numLinks + numCycles.
This is the transform from the joint to the parent link, corresponding to ArticulatedJointParams::parentLinkFromJoint.
Definition at line 103 of file mochi_structs.h.
| Span<int const> superdex::ArticulatedShapeInfo::parents |
Parent link indices defining a tree-like joint structure with no cycles.
Size must equal the number of links.
Definition at line 91 of file mochi_structs.h.
| Span<TransformRT const> superdex::ArticulatedShapeInfo::rootFromLinksAtRest |
Rotation and translation of each link in rest configuration relative to the local reference system of the articulated shape.
Size must equal the number of links.
Definition at line 87 of file mochi_structs.h.