DeepSpace  2019
PullLeg Class Reference

An interface command for activating the Pull Arm on the robot. More...

#include <PullLeg.h>

Inheritance diagram for PullLeg:

Public Member Functions

 PullLeg ()
 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 speedMultiplier
 
double speed
 
frc::XboxController * pJoyDebug
 

Detailed Description

An interface command for activating the Pull Arm on the robot.

Definition at line 11 of file PullLeg.h.

Constructor & Destructor Documentation

◆ PullLeg()

PullLeg::PullLeg ( )

Class constructor.

Definition at line 6 of file PullLeg.cpp.

Member Function Documentation

◆ End()

void PullLeg::End ( )
override

Runs once when IsFinished() returns true.

Definition at line 32 of file PullLeg.cpp.

◆ Execute()

void PullLeg::Execute ( )
override

Called in a loop during Teleop.

Definition at line 18 of file PullLeg.cpp.

◆ Initialize()

void PullLeg::Initialize ( )
override

Runs once on initalization.

Definition at line 12 of file PullLeg.cpp.

◆ Interrupted()

void PullLeg::Interrupted ( )
override

Runs once if the command is forced to stop.

Definition at line 36 of file PullLeg.cpp.

◆ IsFinished()

bool PullLeg::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 29 of file PullLeg.cpp.

Member Data Documentation

◆ pJoyDebug

frc::XboxController* PullLeg::pJoyDebug
private

Definition at line 33 of file PullLeg.h.

◆ speed

double PullLeg::speed
private

Definition at line 31 of file PullLeg.h.

◆ speedMultiplier

double PullLeg::speedMultiplier
private

Definition at line 29 of file PullLeg.h.


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