Limit swich elevateur + limit switch pince (testé en simulation-Fonctionne)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user