DeepSpace  2019
Climb Class Reference

#include <Climb.h>

Inheritance diagram for Climb:

Public Member Functions

 Climb ()
 Class constructor. More...
 
void Initialize () override
 Runs once on initalization. More...
 
void Execute () override
 Called in a loop during Teleop. More...
 
bool IsFinished () override
 
void End () override
 Runs once when IsFinished() returns true. More...
 
void Interrupted () override
 Runs once if the command is forced to stop. More...
 

Private Attributes

double armSpeed
 
double crawlSpeed
 
double legSpeed
 
frc::XboxController * pJoyOp
 

Detailed Description

Definition at line 11 of file Climb.h.

Constructor & Destructor Documentation

◆ Climb()

Climb::Climb ( )

Class constructor.

Definition at line 4 of file Climb.cpp.

Member Function Documentation

◆ End()

void Climb::End ( )
override

Runs once when IsFinished() returns true.

Definition at line 59 of file Climb.cpp.

◆ Execute()

void Climb::Execute ( )
override

Called in a loop during Teleop.

Definition at line 19 of file Climb.cpp.

◆ Initialize()

void Climb::Initialize ( )
override

Runs once on initalization.

Definition at line 12 of file Climb.cpp.

◆ Interrupted()

void Climb::Interrupted ( )
override

Runs once if the command is forced to stop.

Definition at line 63 of file Climb.cpp.

◆ IsFinished()

bool Climb::IsFinished ( )
override

Used to tell wpilib if the command is fully finished. This should never return true Because we always want to be able to drive the bot during teleop

Returns
True if command is finished, else false

Definition at line 52 of file Climb.cpp.

Member Data Documentation

◆ armSpeed

double Climb::armSpeed
private

Definition at line 29 of file Climb.h.

◆ crawlSpeed

double Climb::crawlSpeed
private

Definition at line 30 of file Climb.h.

◆ legSpeed

double Climb::legSpeed
private

Definition at line 31 of file Climb.h.

◆ pJoyOp

frc::XboxController* Climb::pJoyOp
private

Definition at line 33 of file Climb.h.


The documentation for this class was generated from the following files: