Merge branch 'Accumulateur'

This commit is contained in:
Olivier Dubois 2023-10-18 19:44:18 -04:00
commit c49c666d0b

View File

@ -19,7 +19,9 @@ public class Accumulateur extends SubsystemBase {
public void Deaccumuler(double vitesse){
moteuracc.set(vitesse);
}
public double distance() {
return(moteuracc.getEncoder().getPosition());
}
@Override
public void periodic() {
// This method will be called once per scheduler run