|
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");
|