From 11fc75d34acceb6e92d0e96c991f569560ec8d76 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Sat, 17 Feb 2024 14:18:08 -0500 Subject: [PATCH] Commit --- 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 5839733..d89e6a4 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -92,8 +92,8 @@ public class RobotContainer { // grimpeur manuel grimpeur.setDefaultCommand(new RunCommand(()->{ - grimpeur.droit(manette.getLeftY()); - grimpeur.gauche(manette.getRightY());} + grimpeur.droit(MathUtil.applyDeadband(manette.getLeftY(), 0.2)); + grimpeur.gauche(MathUtil.applyDeadband(manette.getRightY(),0.2 ));} ,grimpeur)); LED.setDefaultCommand(allumeLED);