This commit is contained in:
parent
bb4bee0d96
commit
f9d9e4fe34
@ -90,7 +90,7 @@ public class RobotContainer {
|
|||||||
manette.start().whileTrue(new RestGyro(drive));
|
manette.start().whileTrue(new RestGyro(drive));
|
||||||
manette.a().whileTrue(new GuiderBas(guideur));
|
manette.a().whileTrue(new GuiderBas(guideur));
|
||||||
manette.b().whileTrue(new GuiderHaut(guideur));
|
manette.b().whileTrue(new GuiderHaut(guideur));
|
||||||
|
manette.x().whileTrue(avancerAuto);
|
||||||
//joystick
|
//joystick
|
||||||
joystick.button(3).whileTrue(new Balayer(balayeuse, accumulateur));
|
joystick.button(3).whileTrue(new Balayer(balayeuse, accumulateur));
|
||||||
manette1.rightBumper().whileTrue(new LancerNote(lanceur, accumulateur));
|
manette1.rightBumper().whileTrue(new LancerNote(lanceur, accumulateur));
|
||||||
@ -116,6 +116,6 @@ public class RobotContainer {
|
|||||||
private void configureBindings() {}
|
private void configureBindings() {}
|
||||||
|
|
||||||
public Command getAutonomousCommand(){
|
public Command getAutonomousCommand(){
|
||||||
return new SequentialCommandGroup(lancer.withTimeout(2),avancerAuto.withTimeout(3));
|
return new SequentialCommandGroup(lancer.withTimeout(2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user