From 84f48cdbb8f09accb563ac9330dc9c211e5bb23d Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Wed, 1 Nov 2023 18:04:47 -0400 Subject: [PATCH] -z joystick --- 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 c3d6163..ed090c1 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -22,7 +22,7 @@ public class RobotContainer { // drive.drive(manette.getLeftX(), manette.getLeftY(), manette.getRightX()); //},drive)); drive.setDefaultCommand(new RunCommand(()->{ - drive.drive(joystick1.getX(), -joystick1.getY(), joystick1.getZ()); + drive.drive(joystick1.getX(), -joystick1.getY(), -joystick1.getZ()); },drive)); }