| Joey1939 |
09-01-2015 17:54 |
Re: pic: Test Board with New Control System and Talon SRXs
Quote:
Originally Posted by sgosiaco
(Post 1424782)
Could you possibly go into detail in how you got your usb camera feed working and what camera are you using? I'm having troubles getting a PS3 Eye camera working with a similar test bed setup.
|
Sure, first plug in the camera and open the roboRIO webdashboard. You should see the camera listed with a name like "cam0". If you don't see your camera listed there, it probably isn't supported.
Then in your code you need to insert the following lines in the initialization of the Robot (Assuming you are using Java or C++):
Code:
CameraServer server = CameraServer.getInstance();
server.setQuality(50);
server.startAutomaticCapture("cam0");
Make sure to replace "cam0" with the name of the camera found in the first step.
|