From 25866d11992f34c8a5c1dd8cf5d2b0a9f7c800ea Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Mon, 6 Nov 2023 19:56:24 -0500 Subject: [PATCH] addDouble a add --- src/main/java/frc/robot/subsystems/Lanceur.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/Lanceur.java b/src/main/java/frc/robot/subsystems/Lanceur.java index 8e5be7e..4dbac87 100644 --- a/src/main/java/frc/robot/subsystems/Lanceur.java +++ b/src/main/java/frc/robot/subsystems/Lanceur.java @@ -24,7 +24,7 @@ public class Lanceur extends SubsystemBase { .withSize(2, 7); final CANSparkMax lanceur = new CANSparkMax(Constants.lanceur, MotorType.kBrushless); public Lanceur() { - GenericEntry force1 = forces.addDouble("Force1", Force1.lanceur).GetEntry(); + GenericEntry force1 = forces.add("Force1", Force1.lanceur).GetEntry(); } public void lancer(double vitesse){