FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

2 USB Camera - USBBandWithLimitation Java

Our team is using 2 usb cameras plugged into a 4 port hub.  The hub is plugged into 1 usb port on the RoboRio.  We can view 1 camera at a time but not both without getting an error saying we have exceed our USBBandwith limitation.  We would like to stream video for 2 cameras at a time.  Does anyone know how to do this?  We tried removing the hub and plug both directly into the roborio and it does the same thing.  Also, what is the bandwith amount we are allowed to use?

 

Our cameras are set up with 320X240 10fps right now,

thanks!

Debbie

 

0 Kudos
Message 1 of 4
(871 Views)

We aren't really rules experts or Java experts, but I'd point you towards R66b in the manual.  It'll share FIRST's BW limitations as well as provides a guide on how to manage that requirement.

0 Kudos
Message 2 of 4
(868 Views)

NI manual?  FIRST FRC Manual?  The only Java commands I am running are the following:

CameraServer.getInstance().startAutomaticCapture(0);

CameraServer.getInstance().startAutomaticCapture(1);

 

Thank you for your help.

0 Kudos
Message 3 of 4
(861 Views)
Highlighted
0 Kudos
Message 4 of 4
(851 Views)