View Single Post
  #7   Spotlight this post!  
Unread Yesterday, 21:40
ajsmith's Avatar
ajsmith ajsmith is offline
Captain, Programming, Build
AKA: Andy Smith
FRC #5546 (A.R.T.)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2014
Location: Petersburg, VA
Posts: 10
ajsmith is a jewel in the roughajsmith is a jewel in the roughajsmith is a jewel in the rough
Re: More Than Two USB Cameras??

Quote:
Originally Posted by Caleb Sykes View Post
What do you mean when you say you have to change the source to "switcher?"
In SmartDashboard, the USB Camera Viewer widget has a source property. In the code above, it says "putVideo("Switcher", 320, 240);" so that is the new video source. The Java code automatically adds a "Camera 0" or "cam0" source for the webcam, but using that produces an error when switching cameras because you are still trying to stream that single camera rather than the special source that will switch between the two.
Reply With Quote