This commit is contained in:
Antoine PerreaultE 2024-02-27 19:13:43 -05:00
parent f1f3934080
commit 10ec7aa11e

View File

@ -18,7 +18,7 @@ public class Accumulateur extends SubsystemBase {
ShuffleboardTab dashboard = Shuffleboard.getTab("dashboard"); ShuffleboardTab dashboard = Shuffleboard.getTab("dashboard");
private GenericEntry vitesse = private GenericEntry vitesse =
dashboard.add("vitesseacc", 0.6) dashboard.add("vitesseacc", 0.7)
.withSize(1, 1) .withSize(1, 1)
.withPosition(0, 0) .withPosition(0, 0)
.getEntry(); .getEntry();
@ -41,7 +41,7 @@ public class Accumulateur extends SubsystemBase {
Moteuracc2.set(-vitesse); Moteuracc2.set(-vitesse);
} }
public void Accumuler(){ public void Accumuler(){
Accumuler(vitesse.getDouble(0.6)); Accumuler(vitesse.getDouble(0.7));
} }
@Override @Override