View Single Post
  #6   Spotlight this post!  
Unread 04-04-2016, 21:00
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote