Added RunIntake command

This commit is contained in:
Team578 Driver Station 2026-04-13 18:48:54 -04:00
parent 4859a68be6
commit 7d21c40122
2 changed files with 20 additions and 0 deletions

View File

@ -35,6 +35,25 @@
"pathName": "1.2 Shoot to Depot Path" "pathName": "1.2 Shoot to Depot Path"
} }
}, },
{
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "RunIntake"
}
},
{
"type": "wait",
"data": {
"waitTime": 10.0
}
}
]
}
},
{ {
"type": "path", "type": "path",
"data": { "data": {

View File

@ -56,6 +56,7 @@ public class RobotContainer {
configureBindings(); configureBindings();
NamedCommands.registerCommand("ChassisAlignShoot", new AutoShootCommandChassisTurret(driveSubsystem, hopperSubsystem, turretSubsystem)); NamedCommands.registerCommand("ChassisAlignShoot", new AutoShootCommandChassisTurret(driveSubsystem, hopperSubsystem, turretSubsystem));
NamedCommands.registerCommand("RunIntake", intakeSubsystem.intake());
turretSubsystem.setDefaultCommand(new AutoTurretCommand(turretSubsystem, driveSubsystem)); turretSubsystem.setDefaultCommand(new AutoTurretCommand(turretSubsystem, driveSubsystem));
} }