addDouble a add

This commit is contained in:
Olivier Dubois 2023-11-06 19:56:24 -05:00
parent 6c28e3f373
commit 25866d1199

View File

@ -24,7 +24,7 @@ public class Lanceur extends SubsystemBase {
.withSize(2, 7); .withSize(2, 7);
final CANSparkMax lanceur = new CANSparkMax(Constants.lanceur, MotorType.kBrushless); final CANSparkMax lanceur = new CANSparkMax(Constants.lanceur, MotorType.kBrushless);
public Lanceur() { public Lanceur() {
GenericEntry force1 = forces.addDouble("Force1", Force1.lanceur).GetEntry(); GenericEntry force1 = forces.add("Force1", Force1.lanceur).GetEntry();
} }
public void lancer(double vitesse){ public void lancer(double vitesse){