Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Simple to allow polling of Virtual Devices. #349

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Conzar
Copy link
Contributor

@Conzar Conzar commented Jan 14, 2023

 Some VR Devices' data is routed through another device.  This commit
updates the simple program to allow polling of such devices.

This commit also adds a feature for allowing the user to select the
device that is polled via the command line first showing the device
ids and then promoting the user to select the device to be polled.

The device class for the nolo head tracker was set to an HMD.  This causes problems on dependant
projects like Monado which expects HMDs to include display devices.

The nolo head tracker is not an HMD so this commit changes it to a generic tracker class.
Some VR Devices' data is routed through another device.  This commit
updates the simple program to allow polling of such devices.

This commit also adds a feature for allowing the user to select the
device that is polled via the command line first showing the device
ids and then promting the user to select the device to be polled.
When the nolo base station is connected, if it is the first
device returned by the hid_enumerate, than OpenHMD exits
because the STATION is the wrong device.

This code correctly iterates through the linked list ignoring
the STATION if it is connected and ensures that the other NOLO
devices are registered.
The trackpad reports values with the range of [0,255] for x and y axis.
Monado expects a range of [-1, 1] for both axis.  This commit normalizes the
output for the trackpad to [-1, 1].

The controller y and z axis were assigned to the incorrect values (swapped).
This commit only changes the y and z axis for the controllers as the
head tracker appears to be correct.
The gyo and acceleration data from nolo was reversed.  This caused
the code to swap the variable names.  It could be that in previous
nolo firmware the data formatting was different than the latest firmware?

This commit fixes the gyo and acceleration when retreiving those
values from the nolo controllers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant