Intake auto start
This commit is contained in:
parent
8cd0b5a65f
commit
03586a46af
|
|
@ -92,7 +92,7 @@ public class RobotContainer {
|
||||||
*/
|
*/
|
||||||
public Command getAutonomousCommand() {
|
public Command getAutonomousCommand() {
|
||||||
// An example command will be run in autonomous
|
// An example command will be run in autonomous
|
||||||
return Commands.parallel(intakeSubsystem.deploy(), Commands.run(() -> {
|
return Commands.parallel(Commands.parallel(intakeSubsystem.deploy(), intakeSubsystem.intake()), Commands.run(() -> {
|
||||||
turretSubsystem.homeTurret();
|
turretSubsystem.homeTurret();
|
||||||
}, turretSubsystem), driveSubsystem.getAutoCommand());
|
}, turretSubsystem), driveSubsystem.getAutoCommand());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue