From f3d93ddddae732bc38f4131c0a78ef1316805737 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Mon, 19 Feb 2024 17:53:47 -0500 Subject: [PATCH] jh --- src/main/java/frc/robot/RobotContainer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 7944f95..2429243 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -96,8 +96,8 @@ public class RobotContainer { // grimpeur manuel grimpeur.setDefaultCommand(new RunCommand(()->{ - grimpeur.droit(MathUtil.applyDeadband(manette.getLeftY(), 0.2)); - grimpeur.gauche(MathUtil.applyDeadband(manette.getRightY(),0.2 ));} + grimpeur.droit(MathUtil.applyDeadband(-manette.getLeftY(), 0.2)); + grimpeur.gauche(MathUtil.applyDeadband(-manette.getRightY(),0.2 ));} ,grimpeur)); LED.setDefaultCommand(allumeLED);