![]() |
Explanantion needed on how to get USB data from the roboRIO
My team has an idea for position tracking which requires the use of a USB port. Last year this obviously wasn't possible (without A LOT of workarounds and ordering parts from overseas). This year we were excited to see the roboRIO sporting 2 host USB ports. I'm the lead programmer and have been tasked with programming this system.
How would I go about getting data off of the USB? I found the kUSB value in the Port class that is used to construct a SerialPort object but I haven't had any luck getting data from the port through this method. (although I haven't really had much time to play with it yet) Any help would be much appreciated and I thank you for the time you spent reading this. |
Re: Explanantion needed on how to get USB data from the roboRIO
Does the device show up in the roboRIO webdashboard? If so, what is it's address? It should be INSTR::ASLR3 to work with the kUSB setting.
|
Re: Explanantion needed on how to get USB data from the roboRIO
Quote:
Would it change anything if this device registered as a generic HID device? |
Re: Explanantion needed on how to get USB data from the roboRIO
Quote:
While it should be possible to use a generic HID device through linux interfaces, WPILib doesn't provide a library for it. |
Re: Explanantion needed on how to get USB data from the roboRIO
Quote:
Is it worth the trouble to do this? Or should I just try and find another way? |
| All times are GMT -5. The time now is 22:38. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi