API Reference#
GRiD exposes the following Python interfaces:
grid_rbd is the Python package users actually call:
register_robot(...)→ cached per-robot.so→ numpy / JAX / torch handles.RBDReference contains CPU reference rigid-body dynamics and kinematics algorithms used for validation.
URDFParser parses robot descriptions into the internal model consumed by the reference algorithms and code generator.
GRiD’s code generator emits CUDA C++ headers, host wrappers, shared-memory layouts, and generated helper APIs.
Start with grid_rbd (Python bindings) to call GRiD from Python, GRiD’s code generator when you want to generate CUDA, RBDReference when you want Python reference values, and URDFParser when you need to inspect or debug parsed robot topology.