|
Re: camera tracking
I worked with the camera last year and had the exact same problem.
The solution is to change the code so that the camera does not go back to it's center positions when a new search is initiated (just do this once when you initialize the camera).
This solves the problem of when the camera goes past the light, detects it (blinks red) but then keeps going and seems to later change it's mind and sort of try to correct itself.
If your problem is instead finding the light and then keeping it in focus for a few seconds before moving away...try to change the +1/-1 values mentioned above or simply move the green light/move the camera to a different position. Sometimes there is interference at a particular angle from some other things (like a window or a light bulb).
Happy Coding.
__________________
|