|
SuperDex Physics C++ API
|
Parameters describing a single rigid link within an articulated actor. More...
#include <mochi_structs.h>
Public Member Functions | |
| bool | operator== (ArticulatedLinkParams const &) const =default |
Public Attributes | |
| ActorBoundaryElementType | boundaryElementType = ActorBoundaryElementType::Default |
| Finite element type for boundary discretization. | |
| std::optional< BoundarySubsamplingParams > | boundarySubsampling |
| Optional subsampling for boundary integrals such as contact. | |
| std::optional< Real3 > | centerOfMass |
| Position [m] of the center of mass in the link actor's local frame. | |
| ColliderType | colliderType = ColliderType::Auto |
| Collision detection geometry. | |
| ContactParams | contact |
| Contact mechanics parameters. | |
| std::optional< real > | density |
| Uniform density [kg/m³] of the actor. | |
| bool | hasGravity = true |
| If true, the link actor will be affected by gravity. | |
| DynamicString | layer |
| Contact layer name for filtering contacts between actors. | |
| std::optional< real > | mass |
| Total mass [kg] of the actor. | |
| std::optional< Real6 > | momentOfInertia |
| Moment of inertia tensor [kg·m²] at the center of mass in the actor's local frame. | |
| DynamicString | name |
| Link local name. | |
| TransformRT | parentJointFromLink |
| Rotation and translation of the link with respect to the parent joint. | |
| int | parentLink = -1 |
| Index of the parent link in ArticulatedActorParams::links, or -1 for the root. | |
| ShapeHandle | shape |
| Shape handle defining the actor's geometry and other metadata. | |
Parameters describing a single rigid link within an articulated actor.
Each link is a rigid body in the articulation's kinematic tree. Mirrors RigidActorParams for the per-link rigid-body properties (shape, mass, inertia, contact), and adds tree-structure fields (parentLink, parentJointFromLink). Pose and velocity at creation time come from the articulated body, not from per-link fields.
Definition at line 201 of file mochi_structs.h.
|
default |
| ActorBoundaryElementType superdex::ArticulatedLinkParams::boundaryElementType = ActorBoundaryElementType::Default |
Finite element type for boundary discretization.
Definition at line 214 of file mochi_structs.h.
| std::optional<BoundarySubsamplingParams> superdex::ArticulatedLinkParams::boundarySubsampling |
Optional subsampling for boundary integrals such as contact.
Definition at line 215 of file mochi_structs.h.
| std::optional<Real3> superdex::ArticulatedLinkParams::centerOfMass |
Position [m] of the center of mass in the link actor's local frame.
Definition at line 212 of file mochi_structs.h.
| ColliderType superdex::ArticulatedLinkParams::colliderType = ColliderType::Auto |
Collision detection geometry.
Definition at line 207 of file mochi_structs.h.
| ContactParams superdex::ArticulatedLinkParams::contact |
Contact mechanics parameters.
Definition at line 208 of file mochi_structs.h.
| std::optional<real> superdex::ArticulatedLinkParams::density |
Uniform density [kg/m³] of the actor.
Must be positive if provided.
Definition at line 210 of file mochi_structs.h.
| bool superdex::ArticulatedLinkParams::hasGravity = true |
If true, the link actor will be affected by gravity.
Definition at line 209 of file mochi_structs.h.
| DynamicString superdex::ArticulatedLinkParams::layer |
Contact layer name for filtering contacts between actors.
Definition at line 206 of file mochi_structs.h.
| std::optional<real> superdex::ArticulatedLinkParams::mass |
Total mass [kg] of the actor.
Must be positive if provided.
Definition at line 211 of file mochi_structs.h.
| std::optional<Real6> superdex::ArticulatedLinkParams::momentOfInertia |
Moment of inertia tensor [kg·m²] at the center of mass in the actor's local frame.
Stored as [ixx, ixy, ixz, iyy, iyz, izz] using negative tensor notation:
Definition at line 213 of file mochi_structs.h.
| DynamicString superdex::ArticulatedLinkParams::name |
Link local name.
Definition at line 202 of file mochi_structs.h.
| TransformRT superdex::ArticulatedLinkParams::parentJointFromLink |
Rotation and translation of the link with respect to the parent joint.
Definition at line 204 of file mochi_structs.h.
| int superdex::ArticulatedLinkParams::parentLink = -1 |
Index of the parent link in ArticulatedActorParams::links, or -1 for the root.
Definition at line 203 of file mochi_structs.h.
| ShapeHandle superdex::ArticulatedLinkParams::shape |
Shape handle defining the actor's geometry and other metadata.
Definition at line 205 of file mochi_structs.h.