DeepSpace  2019
ControlHatchGripper Class Reference

An interface command for toggleing the gripper. More...

#include <ControlHatchGripper.h>

Inheritance diagram for ControlHatchGripper:

Public Member Functions

 ControlHatchGripper ()
 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 speed
 
frc::XboxController * pJoyOp
 

Detailed Description

An interface command for toggleing the gripper.

Definition at line 11 of file ControlHatchGripper.h.

Constructor & Destructor Documentation

◆ ControlHatchGripper()

ControlHatchGripper::ControlHatchGripper ( )

Class constructor.

Definition at line 5 of file ControlHatchGripper.cpp.

Member Function Documentation

◆ End()

void ControlHatchGripper::End ( )
override

Runs once when IsFinished() returns true.

Definition at line 33 of file ControlHatchGripper.cpp.

◆ Execute()

void ControlHatchGripper::Execute ( )
override

Called in a loop during Teleop.

Definition at line 16 of file ControlHatchGripper.cpp.

◆ Initialize()

void ControlHatchGripper::Initialize ( )
override

Runs once on initalization.

Definition at line 13 of file ControlHatchGripper.cpp.

◆ Interrupted()

void ControlHatchGripper::Interrupted ( )
override

Runs once if the command is forced to stop.

Definition at line 37 of file ControlHatchGripper.cpp.

◆ IsFinished()

bool ControlHatchGripper::IsFinished ( )
override

Definition at line 30 of file ControlHatchGripper.cpp.

Member Data Documentation

◆ pJoyOp

frc::XboxController* ControlHatchGripper::pJoyOp
private

Definition at line 22 of file ControlHatchGripper.h.

◆ speed

double ControlHatchGripper::speed
private

Definition at line 21 of file ControlHatchGripper.h.


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