From 938198d4e232c20906c7a3069ae293c82bef43ae Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 28 Oct 2024 19:04:46 -0400 Subject: [PATCH] oli me corrige --- src/main/java/frc/robot/Subsystems/Lanceur.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/Subsystems/Lanceur.java b/src/main/java/frc/robot/Subsystems/Lanceur.java index 1a6c4a6..20db90e 100644 --- a/src/main/java/frc/robot/Subsystems/Lanceur.java +++ b/src/main/java/frc/robot/Subsystems/Lanceur.java @@ -22,7 +22,7 @@ public class Lanceur extends SubsystemBase { final WPI_TalonSRX lanceur1 = new WPI_TalonSRX(0); final WPI_TalonSRX lanceur2 = new WPI_TalonSRX(1); - final CANSparkMax tourel = new CANSparkMax(2, MotorType.kBrushed); + final CANSparkMax tourelle = new CANSparkMax(2, MotorType.kBrushed); public void encodeur(double distance){ lanceur1.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative); lanceur2.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative); @@ -34,7 +34,7 @@ public class Lanceur extends SubsystemBase { lanceur2.set(-vitesse); } public void tourelRotation(double vitesse){ - tourel.set(vitesse); + tourelle.set(vitesse); } public void setPID(double p, double i, int d) { }