The PID constants as described above (F is a feedforward value that is used for speed PID loops) The setpoint value that corresponds the to the pot value when the wrist has reached the desired value ...
``` ```python # Adds a feedforward to the loop output before sending it to the motor motor.setVoltage(pid.calculate(encoder.getDistance(), setpoint) + feedforward) ``` Moreover, feedforward is a ...