Thread: Speed PID loop
View Single Post
  #10   Spotlight this post!  
Unread 07-02-2012, 23:07
TravSatEE's Avatar
TravSatEE TravSatEE is offline
Spacecraft Engineer and more
FRC #2035 (Robo Rockin' Bots)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Monterey, CA
Posts: 26
TravSatEE is infamous around these partsTravSatEE is infamous around these parts
Re: Speed PID loop

You can implement it using an Encoder that has setPIDSourceParameter(kRate); That is to say the encoder has to output its rate, not its distance (or position).

Also remember changing/adding files in the WPILIB requires you to rebuild the classes.jar, otherwise your change is not reflected.
Reply With Quote