View Single Post
  #2   Spotlight this post!  
Unread 04-03-2006, 23:14
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Purpose of "boot_initialization_flag" in 'camera.c'

So the code doesn't try to initalize the camera over and over.

That variable gets reset when you power cycle the robot controller anyway.

One thing I have noticed, is that if the serial wire is loose, the camera acts very, very funny (Not picking up the reset commnads from the RC, for one).. If you are having that many problems, why not modify the code so it sends a couple of \n's to the camera before it tries to initalize it? It may be the camera has part of a command stuck in its buffer for some reason.