
12-05-2016, 11:48 PM
|
 |
 |
Taking a year (mostly) off
 FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
|
|
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,069
|
|
|
Re: Velocity PID(F) Best Practices - To Integrate, or Not To Integrate?
Quote:
Originally Posted by Oblarg
Just a note about PID control on the talons: god, the handling of the units in the java WPILib code is terrible. "Native units" (which are noted to be either per 10ms or per 100ms depending on which source you check; they are actually the latter) are used everywhere *except* for the set and getsetpoint functions, which use RPM. The comments helpfully mention that the latter function returns a value in "appropriate units." Also, the output scaling for F gain is -1023 to 1023, which is a sort of odd choice.
|
I agree wholeheartedly...I'm hopeful that this will be improved for 2017.
|