View Single Post
  #6   Spotlight this post!  
Unread 29-01-2007, 13:55
slimemonkey slimemonkey is offline
Registered User
FRC #1015 (Pi Hi Samurai)
Team Role: Programmer
 
Join Date: Mar 2006
Location: Ann Arbor, MI
Posts: 10
slimemonkey is an unknown quantity at this point
PWM to velocity?

One more question about the encoder module..

I couldn't find the actual python code anywhere online...

We have been able to set up the PID module for the power to each motor. The joysticks decide the value to be reached and the pwm values change until that value is reached.

Our next task is how to use a velocity target value and connect that to the motor output (based on the error velocity value).

We plan on doing this using potentiometers to determine the velocity...can anyone help us on somehow reaching the target velocity by altering the pwm output on the motors?