Quote:
Originally Posted by Kingofl337
Roughly...Yes
But, the robot should keep driving during the switch.
|
Actually, this is close but not quite correct.
What happens is that the code waits for the robot to be on for 2 seconds before it will send any initialization data to the camera. This is to ensure that the camera has powered itself up. Your program can do other things during that 2 seconds, but the InitCamera function will wait (inside the function) until the camera is properly powered up.
Once that happens, the actual initialization takes about 50ms. So you can stop the camera, send it new initialization data, and restart in under 100ms for everything.
The 2 second delay only applies to the first time.
Brad