View Single Post
  #2   Spotlight this post!  
Unread 19-01-2016, 21:11
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Multiple USB Camera Help

1) Can you open one camera (which camera do you have?)
2) Do you want to feed them to the Dashboard or just read them on the roboRIO?

There may be some USB bandwidth limits and you'll have to run at lower resolutions/frame rates. To pipe both to the dashboard simultaneously, the easiest way is to go into the CameraBackgroundLoop.vi and modify it to allow you to use different ports. Then on the drivers station you duplicate the camera reading code for the 2nd port.

The code for sending USB imagery to the desktop is located in
CameraBackgroundLoop.vi -> WPI_CameraSend Images to PC Loop.vi and the default port it uses is 1180. On the dashboard, you'll need to modify Loop 2.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote