View Single Post
  #4   Spotlight this post!  
Unread 29-01-2007, 13:00
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Gear tooth sensors - Forward or backward?

If you can't be sure that the motor will be moving in the same direction it's commanded, there's no good way to do what you want in software. The best thing I can think of is to use two gear tooth sensors on the same gear, mounted so that they give a quadrature signal just like a rotary encoder would.

Or just add a rotary encoder and be done with it.