Skip to content

Commit 913b611

Browse files
authored
Added tools for evaluating gyroscope accuracy and IMU polling rates. (#13209)
* Added tools to Test Controller for evaluating gyroscope accuracy and IMU polling rates. This adds a visual suite to the testcontroller tool to help validate IMU data from new gamepad drivers and HID implementations. The 3D gizmo renders accumulated rotation using quaternion integration of gyroscope packets. If a controller is rotated 90° in real space, the gizmo should reflect a 90° change, allowing quick detection of incorrect sensitivity or misaligned axes. Also includes: - Euler angle readout (pitch, yaw, roll) - Real-time drift calibration display with noise gating and progress - Accelerometer vector overlay - Live polling rate estimation to verify update frequency Intended for developers working on controller firmware or SDL backend support to confirm correctness of IMU data processing.
1 parent e2239c3 commit 913b611

File tree

3 files changed

+999
-19
lines changed

3 files changed

+999
-19
lines changed

0 commit comments

Comments
 (0)