From 59dad5355564fee8b74419f51a9c6c28050012b5 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Wed, 3 Apr 2024 19:17:59 -0400 Subject: [PATCH] --- src/main/deploy/swerve/modules/pidfproperties.json | 2 +- src/main/java/frc/robot/RobotContainer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/deploy/swerve/modules/pidfproperties.json b/src/main/deploy/swerve/modules/pidfproperties.json index 3834a36..99664bb 100644 --- a/src/main/deploy/swerve/modules/pidfproperties.json +++ b/src/main/deploy/swerve/modules/pidfproperties.json @@ -7,7 +7,7 @@ "iz": 0 }, "angle": { - "p": 0.0020645, + "p": 0.01, "i": 0, "d": 0, "f": 0, diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index c8a34b3..796c625 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -92,7 +92,7 @@ public class RobotContainer { //joystick joystick.button(3).whileTrue(new Balayer(balayeuse, accumulateur)); - joystick.button(1).whileTrue(new LancerNote(lanceur, accumulateur)); + manette1.rightBumper().whileTrue(new LancerNote(lanceur, accumulateur)); joystick.button(5).whileTrue(new LancerAmp(lanceur, accumulateur)); // deplacement