strongback / strongback-java

A library for FIRST Robotics Competition robots that makes it easier to write and test your robot code.
MIT License
41 stars 38 forks source link

PIDController should support multiple gain profiles #42

Closed rhauch closed 9 years ago

rhauch commented 9 years ago

Although many use cases for PID control use only a single set of gains, it is desirable for the controller to have multiple sets of gains and to switch between these. The PIDController class should support multiple named gain profiles, although by default a single set of gains should be used.