mode auto pls marche pls

This commit is contained in:
Antoine PerreaultE
2026-03-26 17:46:22 -04:00
parent 69fe4a58d0
commit d0c50cbd6e
8 changed files with 272 additions and 34 deletions

View File

@@ -66,6 +66,6 @@ public class TournerVersMur extends Command {
// Returns true when the command should end.
@Override
public boolean isFinished() {
return pigeon2.getYaw().getValueAsDouble() > angle - 5 && pigeon2.getYaw().getValueAsDouble() < angle + 5;
return pigeon2.getYaw().getValueAsDouble() > angle && pigeon2.getYaw().getValueAsDouble() < angle + 5;
}
}