|
SuperDex Physics C++ API
|
Parameters describing a single joint within an articulated actor. More...
#include <mochi_structs.h>
Public Member Functions | |
| bool | operator== (ArticulatedJointParams const &) const =default |
Public Attributes | |
| Real3 | axis = {} |
| Local axis of motion for the joint, in the joint's local frame. | |
| ArticulatedJointFrictionParams | friction |
| Joint friction parameters. | |
| std::optional< real > | inertia |
| Joint inertia coefficient. | |
| real | limitDamping = 0_r |
| Damping coefficient [N·s/m or N·m·s/rad] for the joint limit constraints. | |
| real | limitStiffness = 100_r |
| Stiffness coefficient [N/m or N·m/rad] for the joint limit constraints. | |
| std::optional< Real3 > | maxLimit |
| Maximum joint limits for each DoF. | |
| std::optional< Real3 > | minLimit |
| Minimum joint limits for each DoF. | |
| DynamicString | name |
| Joint name. | |
| TransformRT | parentLinkFromJoint |
| Rotation and translation of the joint with respect to the parent link. | |
| ArticulatedJointType | type = ArticulatedJointType::Invalid |
| Joint type. | |
Parameters describing a single joint within an articulated actor.
Each joint connects a link to its parent in the kinematic tree. Joints are referenced positionally — the i-th entry of ArticulatedActorParams::joints corresponds to the joint connecting the i-th link to its parent. Cycle-closing joints are declared separately via ArticulatedActorParams::cycles.
Definition at line 184 of file mochi_structs.h.
|
default |
| Real3 superdex::ArticulatedJointParams::axis = {} |
Local axis of motion for the joint, in the joint's local frame.
Definition at line 188 of file mochi_structs.h.
| ArticulatedJointFrictionParams superdex::ArticulatedJointParams::friction |
Joint friction parameters.
Definition at line 189 of file mochi_structs.h.
| std::optional<real> superdex::ArticulatedJointParams::inertia |
Joint inertia coefficient.
Units are [kg] for translation DoFs and [kg·m²] for rotation DoFs.
Definition at line 190 of file mochi_structs.h.
| real superdex::ArticulatedJointParams::limitDamping = 0_r |
Damping coefficient [N·s/m or N·m·s/rad] for the joint limit constraints.
Definition at line 194 of file mochi_structs.h.
| real superdex::ArticulatedJointParams::limitStiffness = 100_r |
Stiffness coefficient [N/m or N·m/rad] for the joint limit constraints.
Definition at line 193 of file mochi_structs.h.
| std::optional<Real3> superdex::ArticulatedJointParams::maxLimit |
Maximum joint limits for each DoF.
Units are [m] for translation DoFs and [rad] for rotation DoFs.
For 1D joints, limits must be defined by multiplying the scalar max limits by the joint axis. For 3D joints, each component must define the limit along one of the axes of the joint.
Definition at line 192 of file mochi_structs.h.
| std::optional<Real3> superdex::ArticulatedJointParams::minLimit |
Minimum joint limits for each DoF.
Units are [m] for translation DoFs and [rad] for rotation DoFs.
For 1D joints, limits must be defined by multiplying the scalar min limits by the joint axis. For 3D joints, each component must define the limit along one of the axes of the joint.
Definition at line 191 of file mochi_structs.h.
| DynamicString superdex::ArticulatedJointParams::name |
Joint name.
Must be unique among joints of the same articulated actor.
Definition at line 185 of file mochi_structs.h.
| TransformRT superdex::ArticulatedJointParams::parentLinkFromJoint |
Rotation and translation of the joint with respect to the parent link.
Definition at line 187 of file mochi_structs.h.
| ArticulatedJointType superdex::ArticulatedJointParams::type = ArticulatedJointType::Invalid |
Joint type.
Definition at line 186 of file mochi_structs.h.