View Single Post
  #8   Spotlight this post!  
Unread 05-03-2004, 19:08
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: Why not analog sensors??

Quote:
Originally Posted by Dave Flowerday
Except that brightness would also vary by the distance your robot is from the beacon. So, if you read a value of 120 from your analog light sensor, does that mean you're pointed right at it but 20 feet away, or does it mean you're right next to it, but pointed 45 degress away from it?

You would need two sensors (just like Kevin's tracker setup). The ratio of the difference to the sum (left-right)/(left+right) would indicate the off-angle-ness: if they have equal outputs, it's pointed straight; if the left is larger, it's pointed right; right larger means pointed left.

Or something like that.
Quote:
Do such sensors exist?
Dunno. I imagine that the internal processing of the sensors in the kit generates the signal I want. And then they run it through some threshold to throw away most of the information(!) and output a 1 or 0.

Last edited by gnormhurst : 05-03-2004 at 19:24.