|
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().
|