View Single Post
  #8   Spotlight this post!  
Unread 02-08-2016, 09:13 AM
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: Talon SRX Velocity Control

Quote:
Originally Posted by bohdand View Post
gpetilli,

Thank you for posting your tuning steps. I've tried to use them and I am getting unusual results and hoping you might be able to provide some guidance.
We are using velocity closed loop mode, CTRE Mag encoder in Relative.

I've set PIDF all to zero, set a RPM speed of 1000 RPM and increased F to 0.84 to obtain ~1006 RPM. Once I start to increase P - in this case 0-> 0.1 the speed slows down to to 600 RPM. If I add some I, the motor goes to max reverse speed (~1200).

Any help would be appreciated.

Thanks,

bohdand
it almost sounds like your motor and encoder disagree on which direction is positive. If that is the case, you may be able to use a -0.1 for P. Do post your screen shots as requested by Ether.

The steps I gave are fairly generic and intended to help you through the basic thought process, you should use the more detailed debugging instructions in the CTRE documentation.
Reply With Quote