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

Rebased LG-R100 Branch to current master #275

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

Conversation

strfry
Copy link

@strfry strfry commented Jan 7, 2020

This isn't perfect yet, but it seemed to work and it shouldn't get lost in time.
Hope to have fixed my messups this time :)

TheOnlyJoey and others added 15 commits January 7, 2020 00:47
…ables the screen, starts the IMU

rebased to master 2019-01-06  ~strfry
…eing done yet

Fixed threading issue by using the 'null' package (type 0) and returning, also aproximated the viewmatrix settings

IMU is now decoded correctly, though not calibrated.
Drifts and ofsetting is possible by constantly rotating in a direction.
Also cleanup

Added missing usb call

Added size 31 to IMU packet for different LG firmware

Fix packet size check

Added enum's for all known messages, generic cleanup

Fix incorrect enum values
…eing done yet

Fixed threading issue by using the 'null' package (type 0) and returning, also aproximated the viewmatrix settings
Drifts and ofsetting is possible by constantly rotating in a direction.
Also cleanup
…hex from the unknown packages

lgr100: fix infinite loop on my headset when reading sensor data

Added negative z for correct IMU, still drifting so probably needs some form of bias correction
@TheOnlyJoey
Copy link
Member

Great! Only thing keeping me from merging this is the drift, which is assumed at the moment can be fixed with bias value from the firmware.

@TheOnlyJoey TheOnlyJoey self-requested a review January 12, 2020 00:38
@TheOnlyJoey TheOnlyJoey self-assigned this Jan 12, 2020
@TheOnlyJoey TheOnlyJoey added the New HMD Driver A driver for a unknown new device label Jan 12, 2020
@xromansx
Copy link

What means bias value from the firmware ? And was it merged to master ? Thanks.

@rainbyte
Copy link

rainbyte commented May 5, 2020

Any news about this? I have a LG-R100, can I help in some way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New HMD Driver A driver for a unknown new device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants