diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index e8ce40e..8000f69 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -42,8 +42,8 @@ public static final class IntakeMotors { public static final int RMOTOR = 2; } public static final class RandomMotors { - public static final int NEO = 10; - public static final int FALCON = 11; + public static final int NEO = 57; + public static final int FALCON = 51; } } diff --git a/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java b/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java index ccfcfa7..29b5f3e 100644 --- a/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java +++ b/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java @@ -25,7 +25,7 @@ public void runMotor(double power) { } public Command runMotorCommand(double power) { - return startEnd(() -> { + return runEnd(() -> { runMotor(power); }, () -> { runMotor(0);