View Single Post
  #1   Spotlight this post!  
Unread 01-21-2016, 08:55 AM
2172Stew 2172Stew is offline
"Don't worry, that error is ok."
AKA: Stew
FRC #2172 (Street Legal)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Ohio
Posts: 5
2172Stew is an unknown quantity at this point
For Those Having Trouble Getting a USB Camera Feed into RoboRealm

Here at team 2172 we have had a great deal of trouble getting a USB camera to feed into RoboRealm through the rio. After 4 days of working (and late nights of research) I determined that our problem was that the AutomaticCapture() function, although it was feeding frames to the smart dash, was not feeding frames to RoboRealm. To solve this problem I copied the code from the Intermediate Vision example program (removing line 39). This code sends a frameevery time the teleop loop loops. It does this by calling the SetImage() function.

To conclude, if you are having trouble with a usb camera outputting to the smart dash be sure that you are using Camera Server code which sets the image using SetImage().
Reply With Quote