8 #ifndef _AUTOCLIMBHIGH_HG_ 9 #define _AUTOCLIMBHIGH_HG_ 11 #include <frc/commands/Command.h> 12 #include <frc/Timer.h> void Execute_LowerLeg(void)
Execute stage LOWER_LEG stuff.
frc::Timer * pTimer
Timer for timing out stages if it takes too long.
void Execute_LowerArm(void)
Execute stage LOWER_ARM stuff.
bool IsFinished() override
void Initialize() override
void Execute_Drive(void)
Execute stage DRIVE stuff.
Stage
Enum for tracking which stage of climb the robot is on The stage is changed in the Execute_<Stage>() ...
bool IsClimbing()
Returns whether the robot is in the middle of climbing.
void Execute_Raiseleg(void)
Execute stage RAISE_LEG stuff.
enum AutoClimbHigh::Stage stage
void Execute() override
Switch checks the stage and then calls the appropriate Execute_<Stage>() function.
bool climbing
Bool for tracking whether the robot is in the middle of auto climb.
void Interrupted() override
bool onFloor
Bool for tracking whether the robot is off the floor or not.
void Execute_Crawl(void)
Execute stage CRAWL stuff.