View Single Post
  #2   Spotlight this post!  
Unread 27-11-2005, 18:34
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,785
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
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.