This commit is contained in:
samuel desharnais
2024-02-06 19:08:49 -05:00
parent b6e9c303f3
commit 3b44dbb6a6
2 changed files with 41 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ public class RobotContainer {
manette.a().whileTrue(guiderBas);
manette.b().whileTrue(guiderHaut);
joystick.button(3).toggleOnTrue(balayer);
configureBindings();
drive.setDefaultCommand(new RunCommand(()->{
drive.drive(-MathUtil.applyDeadband(joystick.getY(),0.2), MathUtil.applyDeadband(-joystick.getX(),0.2), MathUtil.applyDeadband(-joystick.getZ(), 0.2));