Intake auto start
This commit is contained in:
parent
04e6e13694
commit
16792f5ff2
|
|
@ -94,7 +94,7 @@ public class RobotContainer {
|
|||
*/
|
||||
public Command getAutonomousCommand() {
|
||||
// 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), driveSubsystem.getAutoCommand());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue