test_twoHingeDamper
- test_twoHingeDamper.test_two_hinge_damper_apply_to_enforces_joint_contract()[source]
Accept same-scene hinges and reject slides, ball joints, and mixed scenes.
- test_twoHingeDamper.test_two_hinge_damper_cartesian_law(theta, phiDot, thetaDot, dampingCoeff)[source]
Verify the generalized torques from isotropic Cartesian bob damping.
For the two-hinge rod parameterization, the generalized damping torques are
\[Q_\phi=-c\cos^2\theta\,\dot\phi,\qquad Q_\theta=-c\dot\theta.\]