Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Bang-bang using Talon-SRX and PID for a Shooter (http://www.chiefdelphi.com/forums/showthread.php?t=145069)

Jared Russell 02-03-2016 17:06

Re: Bang-bang using Talon-SRX and PID for a Shooter
 
We have 6 motors on our robot this year that use the velocity-control loop provided by the CAN Talon SRX at least some of the time. It works great and is dead simple to tune (RTM for details, but start with F from first principles or measurement then add some P until you're happy...maybe D if you are feeling fancy).

1KHz control loop + internally low-pass filtered velocity measurement (basically a moving average filter over the last 32(?) dEncoderTicks/100ms) = I'm unlikely to use anything else for velocity control in FRC ever again


All times are GMT -5. The time now is 05:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi