|
Re: How do YOU find the distance from the light?
BTW, you can use the location of the light in the raster to adjust the servo position to be more accurate. That is, if you take the servo positions, you can add or subtract the pixel location of the light (scaled) to have a real value.
You can even do this without trig, although this becomes less accurate as you get closer to the edge of the screen.
I did the research last year. I don't have the code in front of me, so I can't give details.
|