matzman666 / USBHost-samd

USB Host Library for Arduino (added support for the HTC Vive tracker) http://arduino.cc/
7 stars 5 forks source link

Tracker doesn't answer/doesn't accept data #1

Open ghost opened 6 years ago

ghost commented 6 years ago

The vive tracker sample doesn't work. By modifying the code a bit so that leds light up during different parts of the sample it seems like tracker.isConnected never returns true. Just sending the data without calling tracker.isConnected first doesn't work neither. (tested on a Feather M0 using Adafruits library)

ejolivet commented 6 years ago

Hello, we have the same issue using Arduino MKRZero, after updating vive tracker firmware. The tracker seems to be never seen as connected. We'll try to investigate and figure out where the problem comes from. Any advice would be welcome

FelixvdDonk commented 6 years ago

I'm having the same issue. I tried both the arduino MKRZero and the feather M0. Still not managed to fix it. Ejovilet could you confirm it was working under the older firmware?

mellott124 commented 5 years ago

Same thing here. From what I can tell the HID info is different than in the original tutorials found online. This may be breaking things. I've dropped back to trying to talk to the Vive Tracker 2017 on a PC and still no luck. If it won't run directly from the PC it will never work on Arduino.

kazyam53 commented 5 years ago

I replaced a class "init" in hidboot.h to the one in the usbhost library for sam core, then arduino (MKR1000) can connect to vive controller and send feature report.

mellott124 commented 5 years ago

Konnkoro, does this work for the new 2.0 Vive tracker with blue logo?

kazyam53 commented 5 years ago

Konnkoro, does this work for the new 2.0 Vive tracker with blue logo?

No, I don't have 2018. I tried with 1st gen, grey logo.

mellott124 commented 5 years ago

Konnkoro, does this work for the new 2.0 Vive tracker with blue logo?

No, I don't have 2018. I tried with 1st gen, grey logo. Konnkoro, sorry for the delayed response.

If I send you a 2.0 tracker, can you look at making it work?

marcob2178 commented 4 years ago

Hi guys. Ia not sure I understand what is the problem you are facing. Does the vive tracker 1.0 still works to use for a custom vive controller using arduino due ?

Thanks

mellott124 commented 4 years ago

I got 1.0 to work. HTC claims the latest 2.0 code is identical to 1.0, but it doesn’t work.

On Sun, Dec 15, 2019 at 6:08 PM marcob2178 notifications@github.com wrote:

Hi guys. Ia not sure I understand what is the problem you are facing. Does the vive tracker 1.0 still works to use for a custom vive controller using arduino due ?

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/matzman666/USBHost-samd/issues/1?email_source=notifications&email_token=ABBAGVDCKXAAPLUVV6Q27LLQY3PJPA5CNFSM4EPK4FLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG5JPVY#issuecomment-565876695, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBAGVCGMV7SN3LUTYRPVW3QY3PJPANCNFSM4EPK4FLA .

marcob2178 commented 4 years ago

Hi @mellott124 . I am trying to use the vive tracker 1.0 along with an arduino due for making a custom controller. I am following this schematic

https://github.com/matzman666/VR-Rifle-Blueprints/blob/master/Electronics/WiringDiagram_v0.1.png

https://github.com/matzman666/VR-Rifle-Blueprints

I have that d0 and d2 pins that seems working , but d3 and d4 pins that seems not having any actions outputting in steamvr.

Have you used that schematic and arduino code? Is there anything different / anything that changed ?

Thanks

Forgot to ask, what is the difference from 1.0 to 2.0 other than range of use in a bigger play area ?

mellott124 commented 4 years ago

As of about 6 months ago I had it all working with a 1.0 tracker and an Arduino Due. SteamVR is very buggy though. Not sure if they’ve broken things since.

I did have to modify some JSON file to have SteamVR treat the tracker as a controller. Valve has decided that certain inputs shouldn’t be allowed on tracker pucks and was a “bug” to allow them in the first place. I believe this was specially in regards to the trackpad input.

On Sun, Dec 15, 2019 at 6:24 PM marcob2178 notifications@github.com wrote:

Hi @mellott124 https://github.com/mellott124 . I am trying to use the vive tracker 1.0 along with an arduino due for making a custom controller. I am following this schematic

https://github.com/matzman666/VR-Rifle-Blueprints/blob/master/Electronics/WiringDiagram_v0.1.png

https://github.com/matzman666/VR-Rifle-Blueprints

I have that d0 and d2 pins that seems working , but d3 and d4 pins that seems not having any actions outputting in steamvr.

Have you used that schematic and arduino code? Is there anything different / anything that changed ?

Thanks

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/matzman666/USBHost-samd/issues/1?email_source=notifications&email_token=ABBAGVETR6KTZLVQJK3PTQTQY3RETA5CNFSM4EPK4FLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG5KCWA#issuecomment-565879128, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBAGVAAFI7KMHFOPUGBQLDQY3RETANCNFSM4EPK4FLA .

marcob2178 commented 4 years ago

I think right now the tracker is seen as controller in steamvr. I see an hand in place of the tracker , but i am not sure if the actions associated to the pins are srill accurate as soecified in the circuit. For example when i turn the potwntiometer of the trigger , all the fingers of the hans close 1 by one and then also the thumb moves. How can i figure out what each pin of the arduino would do on a vive tracker based on the tipe of button or potentiomer i attach to it?

mellott124 commented 4 years ago

Input debugger in SteamVR Controller bindings. That will show each button individually.

On Sun, Dec 15, 2019 at 6:59 PM marcob2178 notifications@github.com wrote:

I think right now the tracker is seen as controller in steamvr. I see an hand in place of the tracker , but i am not sure if the actions associated to the pins are srill accurate as soecified in the circuit. For example when i turn the potwntiometer of the trigger , all the fingers of the hans close 1 by one and then also the thumb moves. How can i figure out what each pin of the arduino would do on a vive tracker based on the tipe of button or potentiomer i attach to it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/matzman666/USBHost-samd/issues/1?email_source=notifications&email_token=ABBAGVD73CI7XO4BRV4IZV3QY3VH3A5CNFSM4EPK4FLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG5LU2Y#issuecomment-565885547, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBAGVDOD3ZV4YZNWYWQJ33QY3VH3ANCNFSM4EPK4FLA .

marcob2178 commented 4 years ago

ok . thanks ! I need to figure out how to open the Input debugger in SteamVR Controller bindings and how to use it