shinyquagsire23 / vive_ultimate_tracker_re

Reverse engineering the protocol for the VIVE wireless dongle and the 6DoF Ultimate tracker
30 stars 4 forks source link

Connecting but no orientation data #2

Open RodFBR opened 8 months ago

RodFBR commented 8 months ago

Hi, Great work on the code. I have gotten to get it to detect the tracker ok and I can read the serial number etc. I'm new to Python but not to coding.

I'm getting this error.

File "C:\Vive\hid_test.py", line 121, in device_hid1 = hid.Device(path=device_dict_hid1['path']) ^^^^^^^^^^ AttributeError: module 'hid' has no attribute 'Device'. Did you mean: 'device'?

I changed it to .device but no position or orientation data is being produced.

It might be the USB Library. I'm using hidapi and pyhidapi What USB Library are you using?