|
Re: Reinstall of dashboard doesn't fix camera image streaming
Ah. I saw this with a C team last year. If the cRIO boots faster than the camera, you can have the cRIO start pestering the camera for images. The camera is still in the process of booting, and has to spend time processing the images and returning errors. Doing this, meant that the camera wasn't finished booting for ~90 seconds. The solution is to slow down the camera task, especially in the error case. If you don't receive an image from the camera, or on a specific error, sleep for 250 or 500 ms before asking again.
Ideally this would be put into WPILib.
Greg McKaskle
|