Concepts#
The core concepts behind GRiD’s generated code: the design principles, the codegen architecture, the shared-memory resource-tier system, the input/output ABI, and the parallelism patterns.
- Algorithm design principles
- Input / Output ABI (
h_q_qd_u) - Library-safe initialization and cleanup
- Runtime contexts
- Operand validation
- Parallelism patterns
- Algorithms
- inverse_dynamics (RNEA / Recursive Newton-Euler Algorithm)
- ABA (Articulated Body Algorithm)
- CRBA (Composite Rigid Body Algorithm)
- Minv (Direct Mass-Matrix Inverse)
- Frame Jacobian (general-frame geometric Jacobian)
- IDSVA / IDSVA-SO (Inverse Dynamics, Second-Order)
- FDSVA-SO (Forward Dynamics, Second-Order)
- Kinematics (end-effector pose, Jacobian, Hessian)
- Bias terms, centroidal quantities and energy
- Integrators and the plant layer
- Algorithm Overview
- Codegen architecture
- The MuJoCo (mjx) output convention
- Resource-tier system