View Single Post
  #1   Spotlight this post!  
Unread 23-01-2012, 17:43
Becca334's Avatar
Becca334 Becca334 is offline
Registered User
AKA: Rebecca
FRC #0334 (TechKnights)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New York
Posts: 57
Becca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the roughBecca334 is a jewel in the rough
Using Encoders to Correct Drive

I need help with using encoders to keep a robot going straight, basically adjusting the speeds of Victors based on encoder rates to make sure one motor doesn't slack behind another.

I know that this is possible with PID loops but I have not found a single Java implementation of PID for this task (and I really don't understand conceptually how PID works either)

We're using the RobotDrive class with tankDrive for driving with 4 motors and 2 encoders (one per 2 motors on each side).
Reply With Quote