b v
This commit is contained in:
parent
bde4ca17a2
commit
9536969fce
@ -33,6 +33,7 @@ import frc.robot.commands.BrakeOuvre;
|
||||
import frc.robot.commands.GratteBaisser;
|
||||
import frc.robot.commands.GratteMonte;
|
||||
import frc.robot.commands.Gyro;
|
||||
import frc.robot.commands.Reculer;
|
||||
import frc.robot.commands.bras.FermePince;
|
||||
import frc.robot.commands.bras.OuvrePince;
|
||||
import frc.robot.commands.bras.PivotBrasRentre;
|
||||
@ -84,6 +85,11 @@ public RobotContainer() {
|
||||
|
||||
public Command getAutonomousCommand() {
|
||||
return Commands.print("No autonomous command configured");
|
||||
|
||||
return new SequentialCommandGroup(
|
||||
new PivoteBrasMilieux(brasTelescopique, pivot),
|
||||
new OuvrePince(pince),
|
||||
new PivotBrasRentre(brasTelescopique, pivot).alongWith(new Reculer(basePilotable)),
|
||||
new Gyro(basePilotable)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user