Reverse Engineering the Oculus Rift DK2 Provides Brilliant Insight into Inner Workings
J Thoendell stashed this in Oculus
Here is what’s been gleaned so far:
The Tracking LEDs Can Be Triggered and Gathered with Specific Code
When figuring out how the camera interfaces with the head mounted display, several mysterious functions of the DK2 were retrieved.
Sending a Human Interface Device (HID) feature report turns on the LEDs for ten seconds and then causes them to flicker in odd ways. At first, the community was unsure why this was the case and wildly speculated about it online. Later, it was discovered by Github user pH5 that each LED broadcasts at specific flashing frequencies with various levels of brightness. This allows the tracking camera to identify the source based on the exact blinking patterns of the lights. Knowing this, the DK2 camera can be programmed with an LED identification algorithm.
Stashed in: Virtual Reality!