motorLeft.getConfigurator().apply(config);
motorRight.getConfigurator().apply(config);
-
- motorRight.setControl(new Follower(motorLeft.getDeviceID(), MotorAlignmentValue.Opposed));
motorRight.getConfigurator().apply(
new MotorOutputConfigs().withNeutralMode(NeutralModeValue.Coast)
new MotorOutputConfigs().withNeutralMode(NeutralModeValue.Coast)
);
+ motorRight.setControl(new Follower(motorLeft.getDeviceID(), MotorAlignmentValue.Opposed));
+
SmartDashboard.putData("Turn on shooter", new InstantCommand(() -> setShooter(ShooterConstants.SHOOTER_VELOCITY)));
SmartDashboard.putData("Turn off Shooter", new InstantCommand(() -> setShooter(0)));
}