View Single Post
  #2   Spotlight this post!  
Unread 15-02-2013, 12:59
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: PID + Battery Voltage + Talon=??????

I think that example shows how to set a motor's position based on the feedback from a potentiometer connected to a mechanism that turns with the motor (perhaps with some gear or sprocket reduction in the mix).

If you instead want to do velocity control, you'll need some sort of counter or encoder connected to the motor shaft so you can read its speed.

Why do you care about battery voltage?
Reply With Quote