diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index 71b1399..583944c 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -161,7 +161,7 @@ public class RobotContainer { .onTrue(new InstantCommand(() -> m_robotArm.killSoftLimits())); // TODO: put this into a variable - new JoystickButton(getDeadbandedDriverController(), XboxController.LEFT_BUMPER_BUTTON) + new JoystickButton(getDeadbandedOperatorController(), XboxController.LEFT_BUMPER_BUTTON) .onTrue(new ParallelCommandGroup( new InstantCommand(() -> m_robotClaw.toggle()), new SequentialCommandGroup( diff --git a/src/main/java/frc4388/robot/commands/RunArmIn.java b/src/main/java/frc4388/robot/commands/RunArmIn.java index a865e9d..914e173 100644 --- a/src/main/java/frc4388/robot/commands/RunArmIn.java +++ b/src/main/java/frc4388/robot/commands/RunArmIn.java @@ -22,7 +22,7 @@ public class RunArmIn extends CommandBase { // Called every time the scheduler runs while the command is scheduled. @Override public void execute() { - m_arm.setTeleVel(-1); + m_arm.setTeleVel(1); } // Called once the command ends or is interrupted.