Quote:
Originally Posted by Jared341
Yeah, you would just create a minimalist implementation of a PIDOutput (it could even be an anonymous class).
Something like...
Code:
xxx = new PIDController(Kp, Ki, Kd, source, new PIDOutput() {void pidWrite(double output){ } }, period);
|
Makes sense. Having the thread controlled PID system is very nice though. Just takes that little bit of extra work. Once I get the code tested on the robot I will post it here for people to look at.