|
Re: Purpose of "boot_initialization_flag" in 'camera.c'
If you go through the logic in that function, you find that Raw_Mode(5) is the only thing that is not actually preformed again.. However, that function is something that should only need to be called once. All it does is set up the serial communication with the camera.
Here's the thing: Pressing the robot reset button on the OI is different then pressing it on the actual RC. On the RC, it actually kills power to it. On the OI, I believe it just resets the User Processor. If you have problems with the camera, it's probably better to use the one on the robot. Most of the problems we have seem to start on the camera, rather then the RC. (Camera always thinks it's locked on)
So, I don't think that function would need to be called again to preform a soft-reset of the camera.
|