![]() |
1516X High Stakes 2.0
Codebase for 1516X High Stakes season
|
The Intake class represents a robot intake system. More...
#include <intake.h>
Public Member Functions | |
void | run () |
Runs the main function of the intake system. | |
Intake () | |
Private Attributes | |
bool | elevated |
bool | alliance_color |
blue is false, red is true. | |
Intake::Intake | ( | ) |
void Intake::run | ( | ) |
Runs the main function of the intake system.
Takes optional user input to control the direction of the intake system in autonomous.
Definition at line 13 of file intake.cpp.
References Robot::Globals::controller(), FASTER_VELOCITY, Robot::Globals::HookMotor(), Robot::Globals::IntakeMotor(), and SLOWER_VELOCITY.
|
private |