Thread: Two USB Cameras
View Single Post
  #8   Spotlight this post!  
Unread 30-12-2016, 15:18
Dan Waxman Dan Waxman is offline
Registered User
FRC #0263 (Aftershock)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2016
Location: Long Island
Posts: 25
Dan Waxman is an unknown quantity at this point
Re: Two USB Cameras

If I recall correctly, the USBCamera class is implemented as a singleton, and as a result you can't use two cameras in any intuitive way. There's a chance I'm wrong on that, but I recall my team messing around with it and looking at the source code and I believe that was the takeaway. I remember there was a hacky way here on CD not too long ago though. I found it easier to just use an IP Camera and USB camera instead of two USBs, but I'm pretty sure there is a way.
Reply With Quote