diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 8983584..c5a00cb 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -23,7 +23,7 @@ public class RobotContainer { // The robot's subsystems and commands are defined here... private final DriveTrain driveTrain = new DriveTrain(); - private final Drive drive = new Drive(driveTrain, () -> controller.getLeftY(), () -> controller.getLeftX()); + private final Drive drive = new Drive(driveTrain, () -> -controller.getLeftY(), () -> controller.getLeftX()); /** The container for the robot. Contains subsystems, OI devices, and commands. */ public RobotContainer() { diff --git a/src/main/java/frc/robot/subsystems/DriveTrain.java b/src/main/java/frc/robot/subsystems/DriveTrain.java index 7b9c504..bca5e4a 100644 --- a/src/main/java/frc/robot/subsystems/DriveTrain.java +++ b/src/main/java/frc/robot/subsystems/DriveTrain.java @@ -23,6 +23,7 @@ public class DriveTrain extends SubsystemBase { /** Creates a new DriveTrain. */ public DriveTrain() { tab.add("Drive Train", drive); + roueDroite.setInverted(true); } public void arcadeDrive(double spd, double rot) {