Thread: PID Help
View Single Post
  #12   Spotlight this post!  
Unread 22-01-2015, 21:55
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 204
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: PID Help

Quote:
Originally Posted by lamk View Post
A potentiometer may be a more appropriate sensor.
This is true, simply make a mounting bracket for the potentiometer and provide linkage to your swerve module, coaxial is another route that completely circumnavigates this issue.

If youre dead set on using an encoder for your swerve feedback then you should look into tuning your PID methodically and slowly. For high reduction applications like this your proportional will be a pretty small number (0.2 would probably be a good starting point). Ignore I and D until you reach something under control that levels out. Hope you have some success.
Reply With Quote