A typical (non-continuous) servo already implements closed-loop control onboard, so a PID loop is unnecessary. Just set it to the angle you want and it will handle going there. Servos are quite effective at moving to positions quickly and without overshoot.
Quote:
Originally Posted by tomy
Sounds good but how do you control that in Java based programming
|
You can set a servo in wpilib using
Servo.setAngle(degrees)