|
Re: Should I use a Pot or an encoder, and how?
What you really should use is called a quadrature encoder and you can find some sample code for it on www.kevin.org/frc
Also, I think you need wheel radius in that equation. 
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
|