fixed buttons

This commit is contained in:
Aarav
2023-03-15 11:35:08 -06:00
parent f31c7ed402
commit 423fe34975
2 changed files with 2 additions and 2 deletions
@@ -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(
@@ -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.