anmagx/frankentrack — reverse-engineered prompt
Reverse engineered prompt
Build me a Windows Python desktop app for low cost head tracking that works with OpenTrack. I want it to read IMU data coming from an Arduino over serial in simple CSV format, combine the accelerometer and gyro readings into yaw, pitch, and roll, and send the result over UDP so games can use it through OpenTrack.
Please include a simple GUI where I can pick the serial port and baud rate, start and stop tracking, see the current angles, run a still and level calibration, recenter the view, and adjust gentle drift correction for when I’m looking forward. It should feel responsive enough for around 120 hz if the hardware supports it.
Also add optional webcam tracking for one bright IR LED so the app can estimate X and Y movement too. Keep the setup friendly for an Arduino Nano with an MPU6500 and a basic IR LED, and include clear instructions for installing, flashing the Arduino sketch, calibrating, and connecting it to OpenTrack.
Want more depth? Deep Reverse