diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 683f0e5..042799c 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -82,8 +82,8 @@ public static class MechanismConstants { // Conveyor Motors public static final int CONVEYOR_MOTOR_1 = 1; public static final int CONVEYOR_MOTOR_2 = 2; - public static final boolean CONVEYOR_MOTOR_1_INVERTED = true; - public static final boolean CONVEYOR_MOTOR_2_INVERTED = false; + public static final boolean CONVEYOR_MOTOR_1_INVERTED = false; + public static final boolean CONVEYOR_MOTOR_2_INVERTED = true; public static final double CONVEYOR_MOTOR_SPEED = 0.38; // Flywheel Motors diff --git a/src/main/java/frc/robot/subsystems/Conveyor.java b/src/main/java/frc/robot/subsystems/Conveyor.java index 745b04a..4e81f2a 100644 --- a/src/main/java/frc/robot/subsystems/Conveyor.java +++ b/src/main/java/frc/robot/subsystems/Conveyor.java @@ -24,8 +24,8 @@ public Conveyor() { /** Sets the Conveyor motors to 100% power. */ public void intakeConveyor() { - conveyorMotor1.set(-MechanismConstants.CONVEYOR_MOTOR_SPEED); - conveyorMotor2.set(-MechanismConstants.CONVEYOR_MOTOR_SPEED); + conveyorMotor1.set(MechanismConstants.CONVEYOR_MOTOR_SPEED); + conveyorMotor2.set(MechanismConstants.CONVEYOR_MOTOR_SPEED); } /** Sets the Conveyor motors to 0% power. */ @@ -36,8 +36,8 @@ public void disableConveyor() { /** Sets the Conveyor motors to -100% power. (Reverse direction) */ public void reverseConveyor() { - conveyorMotor1.set(MechanismConstants.CONVEYOR_MOTOR_SPEED); - conveyorMotor2.set(MechanismConstants.CONVEYOR_MOTOR_SPEED); + conveyorMotor1.set(-MechanismConstants.CONVEYOR_MOTOR_SPEED); + conveyorMotor2.set(-MechanismConstants.CONVEYOR_MOTOR_SPEED); } @Override