DeepSpace  2019
PullArm Class Reference

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

#include <PullArm.h>

Inheritance diagram for PullArm:

Public Member Functions

 PullArm ()
 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 PullArm.h.

Constructor & Destructor Documentation

◆ PullArm()

PullArm::PullArm ( )

Class constructor.

Definition at line 6 of file PullArm.cpp.

Member Function Documentation

◆ End()

void PullArm::End ( )
override

Runs once when IsFinished() returns true.

Definition at line 33 of file PullArm.cpp.

◆ Execute()

void PullArm::Execute ( )
override

Called in a loop during Teleop.

Definition at line 21 of file PullArm.cpp.

◆ Initialize()

void PullArm::Initialize ( )
override

Runs once on initalization.

Definition at line 13 of file PullArm.cpp.

◆ Interrupted()

void PullArm::Interrupted ( )
override

Runs once if the command is forced to stop.

Definition at line 37 of file PullArm.cpp.

◆ IsFinished()

bool PullArm::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 30 of file PullArm.cpp.

Member Data Documentation

◆ pJoyDebug

frc::XboxController* PullArm::pJoyDebug
private

Definition at line 33 of file PullArm.h.

◆ speed

double PullArm::speed
private

Definition at line 31 of file PullArm.h.

◆ speedMultiplier

double PullArm::speedMultiplier
private

Definition at line 29 of file PullArm.h.


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