asfdgfhjt

This commit is contained in:
Antoine PerreaultE 2023-11-01 19:53:30 -04:00
parent 6d9f20d339
commit 5eb83bf7e7
2 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public class Force1 extends CommandBase {
@Override
public void execute() {
lanceur.lancer(500);
}
// Called once the command ends or is interrupted.

View File

@ -19,6 +19,8 @@ public class Lanceur extends SubsystemBase {
lanceur.set(vitesse);
}
// encodeur
public double distance() {
return(lanceur.getEncoder().getPosition());