|
Re: Restart Robot Code at competition
What type of camera?
Are we talking about a camera for processing on the roboRIO or sent to the dashboard, or both?
The vision processing VI runs a parallel loop to keep up with the camera and make the latest image available. It will continue to open the camera connection in case it reboots or was not up when the code started.
For USB cameras, Get image will watch for errors and similarly try to close and reopen sessions for camera disconnects. I have, however seen odd things happen at the UVC layer. I would like to reproduce this if given more details.
How does it behave with camera disconnect and reconnects?
Greg McKaskle
|