Limit swich elevateur + limit switch pince (testé en simulation-Fonctionne)

This commit is contained in:
Antoine PerreaultE
2025-02-27 19:22:36 -05:00
parent d7a887571a
commit 280270245e
6 changed files with 31 additions and 99 deletions

View File

@ -28,7 +28,10 @@ public class ElevateurManuel extends Command {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
if (elevateur.limit2())
if (elevateur.limit2()){
}
elevateur.vitesse(doubleSupplier.getAsDouble()/3.5);
}