-
Notifications
You must be signed in to change notification settings - Fork 0
RunIntakeCommand Command
danielbrownmsm edited this page Mar 18, 2020
·
3 revisions
The RunIntakeCommand command runs the intake at the specified power
frc.robot.commands.intake
The constructor takes two arguments, an intake subsystem and a double representing the power at which you want to run the intake. It does this by calling the intake's runIntake(power) method. Examples shown below.
RunIntakeCommand intakeIn = new RunIntakeCommand(0.75);
RunIntakeCommand intakeOut = new RunIntakeCommand(-1);
The command is used in normal Tele-Op as well as anywhere in autonomous where we would want to intake power cells