public void stopRpm() { // speedController.set(0); speedController.setControlMode(TalonControlMode.PercentVbus.getValue()); }
public void setThrottle(double speed) { speedController.setControlMode(TalonControlMode.PercentVbus.getValue()); speedController.set(speed); }