28 this->
legSpeed = this->
pJoyOp->GetBumper(Hand::kRightHand)? -1 : 0;
33 Log(
"Pushing legs down!");
37 Log(
"Arms are being full-forced!");
Climb()
Class constructor.
static CrawlDrive * m_CrawlDrive
Pointer for the DriveTrain.
frc::XboxController * pJoyOp
void MoveLeg(double Speed)
Move climb leg up or down.
frc::XboxController * GetJoystickOperator(void)
static Arm * m_Arm
Pointer for the Arm.
void Log(std::string message)
Main robot class that is called by wpilib.
void Initialize() override
Runs once on initalization.
void Execute() override
Called in a loop during Teleop.
void Interrupted() override
Runs once if the command is forced to stop.
static OI * m_oi
Pointer for the Operator Interface (OI)
void Move(double Speed)
Drive, (or crawl), forwards or backwards Moves the wheels attached to the arms. What wheels do...
bool IsFinished() override
static ClimbState CurrentClimbState
void Append(LedColour colour)
void MoveArm(double Speed)
Move Arm arm up or down.
static Leg * m_Leg
Pointer for the Leg.
void End() override
Runs once when IsFinished() returns true.