This commit is contained in:
samuel desharnais 2024-04-24 17:39:41 -04:00
parent bb4bee0d96
commit f9d9e4fe34

View File

@ -90,7 +90,7 @@ public class RobotContainer {
manette.start().whileTrue(new RestGyro(drive));
manette.a().whileTrue(new GuiderBas(guideur));
manette.b().whileTrue(new GuiderHaut(guideur));
manette.x().whileTrue(avancerAuto);
//joystick
joystick.button(3).whileTrue(new Balayer(balayeuse, accumulateur));
manette1.rightBumper().whileTrue(new LancerNote(lanceur, accumulateur));
@ -116,6 +116,6 @@ public class RobotContainer {
private void configureBindings() {}
public Command getAutonomousCommand(){
return new SequentialCommandGroup(lancer.withTimeout(2),avancerAuto.withTimeout(3));
return new SequentialCommandGroup(lancer.withTimeout(2));
}
}