Skip to main content

Module dca_multibody

Module dca_multibody 

Expand description

Regime I: Articulated Multibody Endoskeleton Solver (dca_multibody.rs).

Implements 6x6 Featherstone spatial inertia scaled by cortical/trabecular BMD and muscle/adipose mass, $O(N)$ Articulated-Body Algorithm (ABA), $O(\log N)$ Divide-and-Conquer Articulated-Body Algorithm (DCA) over a balanced binary assembly tree, closed-loop Jacobian projection, and a WGSL compute kernel for parallel GPU assembly/disassembly (HotZeroHeap).

Structs§

BodyDensitometryInertia
Tissue densitometry and geometry parameters used to derive BMD-scaled 6x6 spatial inertia.
DcaAssemblyNodeGpu
GPU-aligned 128-byte binary-tree DCA assembly node matching DCA_MULTIBODY_WGSL.
DcaBodyGpu
GPU-aligned 64-byte per-body state record matching DCA_MULTIBODY_WGSL.
DcaBodyNode
Rigid-body articulated node for Regime I ABA/DCA dynamics.
LoopClosureConstraint
Closed kinematic loop constraint (ribcage, radius-ulna, pelvic ring).

Constants§

DCA_MULTIBODY_WGSL
MAX_DCA_BODIES
MAX_DCA_LOOPS

Functions§

resolve_loop_closures_zero_heap
Resolves closed kinematic loop residuals (e.g. ribcage, radius-ulna) via compliant constraint projection over world body Motor poses (HotZeroHeap), returning max residual (m).
solve_aba_zero_heap
Solves forward dynamics in $O(N)$ using Featherstone’s Articulated-Body Algorithm (HotZeroHeap).
solve_dca_parallel_chain_zero_heap
Solves forward dynamics for a serial chain in $O(\log N)$ balanced binary-tree passes via Featherstone’s Divide-and-Conquer Articulated-Body Algorithm (HotZeroHeap).

Type Aliases§

SpatialMat6
6x6 spatial matrix in row-major [row][col] layout.
SpatialVec6
6D spatial motion or force vector [ang_0, ang_1, ang_2, lin_0, lin_1, lin_2].