-
Notifications
You must be signed in to change notification settings - Fork 0
SetIntakeStatus Command
danielbrownmsm edited this page Mar 18, 2020
·
2 revisions
The SetIntakeStatus command sets the status of the intake passed to it.
frc.robot.commands.intake
The constructor accepts an intake subsystem and a Boolean value for if it is raised or not. It does this by calling the intake's setIntakeStatus() method.
SetIntakeStatus setSatus = new SetIntakeStatus(intake, false);
It is used at the start of our auto programs that use the intake (e.g. Eight Ball Auto) to make sure that we deploy the intake when we call DeployIntake.