|
Re: default m_period for PIDController???
I'm pretty sure that increasing the PID frequency does not actually improve the performance much. In the WPILib implementation, multiplying the PID frequency by a certain amount effectively multiplies the the I and D terms by the same value. This is because the PIDController does not normalize for elapsed time internally. I think that might be what actually caused your wheels to perform better.
There is also the possibility that I am totally wrong about this, so feel free to correct me if you know more about it.
__________________
2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
|