View Single Post
  #2   Spotlight this post!  
Unread 04-04-2016, 12:43
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Restart Robot Code at competition

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 may insure 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.

Depending on the camera you may be able to fix the startup settings on the camera itself, which would be far and away my preference.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-04-2016 at 14:18.
Reply With Quote