|
Re: Setting PID constants in code for TalonSRX Velocity Control
Depending on your application, you may actually want:
_talon.configPeakOutputVoltage(0.0f, -12.0f);
in the case that you only want it to spin in the 'reverse direction' and never apply 'forward' voltage. If you realize you're driving your car faster than you want on the highway usually you just let off the gas, not throw the engine into reverse.
__________________
[2017-present] FRC 0020 - The Rocketeers
[2016] FRC 5811 - BONDS Robotics
[2010-2015] FRC 0020 - The Rocketeers
|