This commit is contained in:
parent
f1f3934080
commit
10ec7aa11e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user