Log in

View Full Version : Talon SRX PID Maximum Output


eddie12390
17-02-2015, 20:34
Is there a way to set a maximum output for the PID controller on the Talon SRX? I've searched through the CANTalon class as well as reading through the Software Reference manual and I've not found a way to limit the maximum throttle.

Chris_Elston
17-02-2015, 20:42
Is there a way to set a maximum output for the PID controller on the Talon SRX? I've searched through the CANTalon class as well as reading through the Software Reference manual and I've not found a way to limit the maximum throttle.

See section 16.10 in the software manual. Is that what you are looking for?

eddie12390
17-02-2015, 20:47
See section 16.10 in the software manual. Is that what you are looking for?

I had tried using ramp rate to help but I would rather be able to just hard-cap the throttle to a set maximum.

GeeTwo
18-02-2015, 01:43
What language are you using? NILabView, C++, Java, or Python?

eddie12390
18-02-2015, 05:41
What language are you using? NILabView, C++, Java, or Python?

We are using Java.

Abrakadabra
19-02-2015, 09:10
Is there a way to set a maximum output for the PID controller on the Talon SRX? I've searched through the CANTalon class as well as reading through the Software Reference manual and I've not found a way to limit the maximum throttle.

I would like to know this too. It seems like a major oversight if it's not there. The WPILib PIDController class provides this functionality.

Jefferson
19-02-2015, 09:38
See section 21.4 of the manual

http://content.vexrobotics.com/vexpro/pdf/Talon-SRX-Software-Reference-Manual-20150201.pdf

This feature is not present in the current firmware.