View Single Post
  #1   Spotlight this post!  
Unread 14-01-2015, 16:54
AlexBrinister AlexBrinister is offline
Registered User
AKA: Alex Brinister
FRC #1768 (RoboChiefs)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Bolton, MA
Posts: 93
AlexBrinister will become famous soon enough
Access USB from Java

Hi all,

I would like to inquire about accessing the USB port from Java. How would one go about doing that?

My idea is to write a Linux kernel module to transport data from a coprocessor handling video camera data to the roboRIO via USB. Provided that I do this, how would I go about accessing said USB data from Java on the roboRIO?

PS: I want to use a coprocessor to handle video data because I want to run heavy openCV code to handle the camera feed. Despite the fact that the roboRIO is a dual-core processor, I am afraid of the 667 MHz clock rating being too slow to run the robot and the vision processing code without causing some hiccups.

Alex Brinister
Reply With Quote