* @param encoderBChannel Input for the other encoder.
* @param reverse Not used. Was for reversing encoder direction.
*/
public VictorSpeed(int victorChannel, int encoderAChannel, int encoderBChannel) {
speedSetpoint = 0;
victor = new Victor(victorChannel);
encoder = new Encoder(encoderAChannel, encoderBChannel, false, CounterBase.EncodingType.k4X);
encoder.setDistancePerPulse(ENCODER_RPM_PER_PULSE);
encoder.setPIDSourceParameter(Encoder.PIDSourceParameter.kRate); // use e.getRate() for feedback
encoder.start();