From e8febd626858b77ee202045215caa2e886a3a991 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Wed, 27 Mar 2024 18:22:56 -0400 Subject: [PATCH] --- src/main/java/frc/robot/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index bc0f1b1..7a8253d 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -98,7 +98,7 @@ public class RobotContainer { // deplacement configureBindings(); drive.setDefaultCommand(new RunCommand(()->{ - drive.drive(MathUtil.applyDeadband(joystick.getY(),0.2), MathUtil.applyDeadband(joystick.getX(),0.2), MathUtil.applyDeadband(joystick.getZ(), 0.35)); + drive.drive(MathUtil.applyDeadband(manette1.getLeftY(),0.2), MathUtil.applyDeadband(manette1.getLeftX(),0.2), MathUtil.applyDeadband(manette1.getRightX(),.35)); },drive)); // grimpeur manuel