This commit is contained in:
EdwardFaucher 2022-12-05 18:13:41 -05:00
parent 14c9fadf05
commit 887c4e2d95

View File

@ -92,7 +92,8 @@ public class RobotContainer {
*/
public Command getAutonomousCommand() {
// An ExampleCommand will run in autonomous
return new SequentialCommandGroup(
return null;
/**(
new Reculer(basePilotable).withTimeout(SmartDashboard.getNumber("temps reculer", 1)),
new TournerGauche(basePilotable).withTimeout(SmartDashboard.getNumber("temps tourne gauche1",1)),
new Avancer(basePilotable).withTimeout(SmartDashboard.getNumber("temps avencer1",1)),
@ -105,7 +106,7 @@ public class RobotContainer {
new DesactiverBlockeur(poussoir).withTimeout(SmartDashboard.getNumber("temps du b1",0.8)),
new Activer_poussoir(poussoir).withTimeout(SmartDashboard.getNumber("temps pousser1",1)),
new Activershaker(pistonshaker).withTimeout(SmartDashboard.getNumber("temps du b2",1)),
new Activer_poussoir(poussoir).withTimeout(SmartDashboard.getNumber("temps pousser2",1)));
new Activer_poussoir(poussoir).withTimeout(SmartDashboard.getNumber("temps pousser2",1))); */
}
}