コード例 #1
0
 public void stopRpm() {
   // speedController.set(0);
   speedController.setControlMode(TalonControlMode.PercentVbus.getValue());
 }
コード例 #2
0
 public void setThrottle(double speed) {
   speedController.setControlMode(TalonControlMode.PercentVbus.getValue());
   speedController.set(speed);
 }