From ef11dbf0aa40d6f57e8e31f5346abed0135b16b9 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Tue, 27 Feb 2024 20:37:02 -0500 Subject: [PATCH] roue 90 offset + vitesse guideur --- src/main/deploy/swerve/modules/backleft.json | 2 +- src/main/deploy/swerve/modules/backright.json | 2 +- src/main/deploy/swerve/modules/frontleft.json | 2 +- src/main/deploy/swerve/modules/frontright.json | 2 +- src/main/java/frc/robot/command/GuiderBas.java | 2 +- src/main/java/frc/robot/command/GuiderHaut.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/deploy/swerve/modules/backleft.json b/src/main/deploy/swerve/modules/backleft.json index 3f166f4..0d3c214 100644 --- a/src/main/deploy/swerve/modules/backleft.json +++ b/src/main/deploy/swerve/modules/backleft.json @@ -3,7 +3,7 @@ "front": -12.375, "left": 12.375 }, - "absoluteEncoderOffset":299.443, + "absoluteEncoderOffset":209.443, "drive": { "type": "sparkmax", "id": 8, diff --git a/src/main/deploy/swerve/modules/backright.json b/src/main/deploy/swerve/modules/backright.json index 41915eb..a2b0c92 100644 --- a/src/main/deploy/swerve/modules/backright.json +++ b/src/main/deploy/swerve/modules/backright.json @@ -3,7 +3,7 @@ "front": -12.375, "left": -12.375 }, - "absoluteEncoderOffset": 95.537, + "absoluteEncoderOffset": 5.537, "drive": { "type": "sparkmax", "id": 11, diff --git a/src/main/deploy/swerve/modules/frontleft.json b/src/main/deploy/swerve/modules/frontleft.json index c2dda00..5cd53a4 100644 --- a/src/main/deploy/swerve/modules/frontleft.json +++ b/src/main/deploy/swerve/modules/frontleft.json @@ -3,7 +3,7 @@ "front": 12.375, "left": 12.375 }, - "absoluteEncoderOffset":348.223 , + "absoluteEncoderOffset":258.223 , "drive": { "type": "sparkmax", "id": 2, diff --git a/src/main/deploy/swerve/modules/frontright.json b/src/main/deploy/swerve/modules/frontright.json index 36202ee..cd1f7a6 100644 --- a/src/main/deploy/swerve/modules/frontright.json +++ b/src/main/deploy/swerve/modules/frontright.json @@ -3,7 +3,7 @@ "front": 12.375, "left": -12.375 }, - "absoluteEncoderOffset": 200.215, + "absoluteEncoderOffset": 110.215, "drive": { "type": "sparkmax", "id": 18, diff --git a/src/main/java/frc/robot/command/GuiderBas.java b/src/main/java/frc/robot/command/GuiderBas.java index 4d6e5d2..fb8d1e7 100644 --- a/src/main/java/frc/robot/command/GuiderBas.java +++ b/src/main/java/frc/robot/command/GuiderBas.java @@ -27,7 +27,7 @@ public class GuiderBas extends Command { guideur.guider(0); } else{ - guideur.guider(0.5); + guideur.guider(0.6); } } diff --git a/src/main/java/frc/robot/command/GuiderHaut.java b/src/main/java/frc/robot/command/GuiderHaut.java index ae0c13e..d8122d1 100644 --- a/src/main/java/frc/robot/command/GuiderHaut.java +++ b/src/main/java/frc/robot/command/GuiderHaut.java @@ -27,7 +27,7 @@ public class GuiderHaut extends Command { guideur.guider(0); } else{ - guideur.guider(-0.4); + guideur.guider(-0.6); } }