|
Re: Using camera PWM out
Cuog,
The PWM from the camera is not an absolute position, it is the drive to turn the camera towards the color source. Eventually it will go to "zero" when the camera is pointed at the object is it looking for. A pot attached to the gimbal mount will give some data for triangulation but you do need two cameras to triangulate and the distance between the cameras and the distance to the object are variables that pots alone can't give accurate results. You will need something that has very high resolution when the object is far away. Remember that the A/D in the RC may not give a different data output with a pot moving a degree or two. You need somthing that can get you sub-degree accracy for data points and calculations. The optical distance sensors actually shine light on a photo resistor to determine angle. They efectively split the beam from one source and reflect one of the beams using a moving mirror that is "finding" the target.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
|