PYTHON · NUMPY
Joints & Degrees of Freedom

The real Bench probes a MuJoCo-WASM sim for DOF. Here we emulate the kinematic referee in numpy: declare a joint (type, axis, range) and the grader applies a small test wrench in all six directions, measures which produce motion, and reports n_free, the realized axis, and the kind - exactly the sim-based DOF probe, not an XML parse. Edit only the joint declaration cell, gravity off, kinematic only.

You read

the arrays and values already in scope

You change

the code you write in each cell

Fixed

the dataset and the checks that grade you