From e1111511b7e44ecdee78899192bb2d0acd3d3f32 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Mon, 28 Oct 2024 18:52:16 -0400 Subject: [PATCH] =?UTF-8?q?enlever=20la=20stupidit=C3=A9=20de=20Sam?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/Subsystems/Accumulateur.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/frc/robot/Subsystems/Accumulateur.java b/src/main/java/frc/robot/Subsystems/Accumulateur.java index 4847a22..23e5509 100644 --- a/src/main/java/frc/robot/Subsystems/Accumulateur.java +++ b/src/main/java/frc/robot/Subsystems/Accumulateur.java @@ -17,10 +17,6 @@ public class Accumulateur extends SubsystemBase { final WPI_TalonSRX accumulateur1 = new WPI_TalonSRX(0); final WPI_TalonSRX accumulateur2 = new WPI_TalonSRX(10); public void encodeur(){ - accumulateur1.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative); - accumulateur2.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative); - accumulateur1.setStatusFramePeriod(StatusFrameEnhanced.Status_2_Feedback0, 1); - accumulateur2.setStatusFramePeriod(StatusFrameEnhanced.Status_2_Feedback0, 1); } public void desaccumule(double vitesse){ accumulateur1.set(vitesse);