View Single Post
  #3   Spotlight this post!  
Unread 04-04-2016, 12:51
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 312
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Restart Robot Code at competition

Restarting works fine over FMS. The only issue is that driver station's restart button is right next to the reboot roborio button - be careful!

Why would you want to set your camera to auto exposure though?

Quote:
Originally Posted by Mark McLeod View Post
Sounds like it might be that the code is trying to send settings before the camera itself has finished booting and is ready to receive the modified settings.
Restarting the code later insures that the camera is already running and is ready to communicate.

A solution might be to delay your camera code for the length of time it takes the camera to boot.
What we do (in C++, but you should be able to do this in labview) is constantly set the exposure setting on every tick. We do this because we use manual exposure with a setting on smartdashboard, but you can repeatedly set exposure to auto as well.

Last edited by euhlmann : 04-04-2016 at 12:54.
Reply With Quote