code fini

This commit is contained in:
Samuel
2026-02-23 18:24:29 -05:00
parent 69e790ffd5
commit a3eae79bdd
7 changed files with 66 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ public class MonterGrimpeur extends Command {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
if(grimpeur.Position() < 10){
if(grimpeur.Position() < grimpeur.PositionFinal()){
grimpeur.Grimper(0.5);
}
}