sweepTorqueMechanismChecks
Mechanism controls for the velocity-dependent torque artifact.
The propagation sweeps in scenarioCompareTorque show that an inertial drift velocity changes MuJoCo’s attitude even when no physical torque can act. This driver tests the proposed floating-point cancellation mechanism directly:
record the initial MuJoCo generalized bias force for a generic drift;
repeat the check along a coordinate axis, where the cancellation is exact;
double speed and verify the expected quadratic error scaling; and
double mass with inertia fixed and verify the expected linear scaling.
The quiet body has no gravity, applied torque, or initial body rate. Results are
written to results/sweepTorqueMechanismChecks.json.