mode auto

This commit is contained in:
Antoine PerreaultE
2025-03-04 11:41:46 -05:00
parent 9ce0d79903
commit 8852d0a1b6
2 changed files with 12 additions and 3 deletions

View File

@@ -180,7 +180,10 @@ public class RobotContainer {
public Command getAutonomousCommand() {
return new SequentialCommandGroup(
new AvancerAuto(drive).withTimeout(2),
drivetrain.applyRequest(()->
drive.withVelocityX(0.5*MaxSpeed)
.withVelocityY(0)
.withRotationalRate(0)).withTimeout(2),
new L1Requin(requin, bougie).withTimeout(2),
new ExpireCorail(requin, bougie).withTimeout(2),
new RainBow(bougie));