View Single Post
  #6   Spotlight this post!  
Unread 09-01-2015, 17:54
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 142
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: pic: Test Board with New Control System and Talon SRXs

Quote:
Originally Posted by sgosiaco View Post
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.
Reply With Quote