Skip to content

SetIntakeStatus Command

danielbrownmsm edited this page Mar 18, 2020 · 2 revisions

Overview

The SetIntakeStatus command sets the status of the intake passed to it.

Package

frc.robot.commands.intake

Constructor

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);

Usage

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.

Clone this wiki locally