|
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 217 of file mochi_structs.h.
|
default |
| ActorBoundaryElementType superdex::ArticulatedLinkParams::boundaryElementType = ActorBoundaryElementType::Default |
Finite element type for boundary discretization.
Definition at line 230 of file mochi_structs.h.
| std::optional<BoundarySubsamplingParams> superdex::ArticulatedLinkParams::boundarySubsampling |
Optional subsampling for boundary integrals such as contact.
Definition at line 231 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 228 of file mochi_structs.h.
| ColliderType superdex::ArticulatedLinkParams::colliderType = ColliderType::Auto |
Collision detection geometry.
Definition at line 223 of file mochi_structs.h.
| ContactParams superdex::ArticulatedLinkParams::contact |
Contact mechanics parameters.
Definition at line 224 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 226 of file mochi_structs.h.
| bool superdex::ArticulatedLinkParams::hasGravity = true |
If true, the link actor will be affected by gravity.
Definition at line 225 of file mochi_structs.h.
| DynamicString superdex::ArticulatedLinkParams::layer |
Contact layer name for filtering contacts between actors.
Definition at line 222 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 227 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 229 of file mochi_structs.h.
| DynamicString superdex::ArticulatedLinkParams::name |
Link local name.
Definition at line 218 of file mochi_structs.h.
| TransformRT superdex::ArticulatedLinkParams::parentJointFromLink |
Rotation and translation of the link with respect to the parent joint.
Definition at line 220 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 219 of file mochi_structs.h.
| ShapeHandle superdex::ArticulatedLinkParams::shape |
Shape handle defining the actor's geometry and other metadata.
Definition at line 221 of file mochi_structs.h.