urt-rs / docs /research /QVM_SWING_CONTROLLER.md
nmarshall's picture
qvm: angle swing controller
10b31f2
|
Raw History Blame Contribute Delete
1.12 kB

Complete finite angle swing controller

RE-654. Reproduce with python3 scripts/analyze_qvm_swing_controller.py; check with python3 scripts/test_qvm_swing_controller.py. The machine report retains source identity and bounded fixtures.

Complete33392–33712 has no child calls. An idle controller wakes only when wrapped current-minus-goal exceeds the tolerance. Active movement uses speed factors0.5/1/2 selected by strict distance thresholds, clears its flag on arrival, then quantizes the result. A final clamp sets goal minus/plus(clamp−1) before quantization; it can therefore change an angle even at zero elapsed time. Idle in-tolerance angles remain bit-identical. Fixtures cover multi-turn angles and finite timing; NaN/infinite and live legal-input domains remain unverified. This closes the controller itself, not the remaining32254 pose branches.

No original executable/full QVM/native collision/physics/rendering executes. Native responses and legal input domains are supplied or unverified where stated; full runtime/macOS/Linux Rust/Bevy/Solari gameplay remains open.