View Single Post
  #1   Spotlight this post!  
Unread 20-03-2015, 09:01
Dan5190 Dan5190 is offline
Registered User
FRC #5190
 
Join Date: Feb 2015
Location: Cary, NC
Posts: 5
Dan5190 is an unknown quantity at this point
USB Camera using too much bandwidth

Were using the Microsoft life cam camera with java and the smartdashboard. Were at the nc regionals and the fms crew is telling us the camera is using too much bandwidth. It spikes to 17mb/s when the camera first turns on and takes down the fms system for a few seconds then settles down to 3-4 mb/s but we still get a lot of dropped packets. Here is the code we are using on the robot.

CameraServer camera = CameraServer.getInstance();
camera.setQuality(25);
camera.setSize(1);
camera.startAutomaticCapture("cam0");