2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
GripCubeCommand Class Reference

#include <grip_cube_command.h>

Inheritance diagram for GripCubeCommand:

Public Member Functions

 GripCubeCommand (LifterSubsystem &lifter, BashGuardSubsystem &bash, IntakeSubsystem &intake)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Attributes

LifterSubsystemm_lifter
 
IntakeSubsystemm_intake
 
BashGuardSubsystemm_bash
 
frc2::CommandPtr m_allCommands
 

Detailed Description

Note that this extends CommandHelper, rather extending CommandBase directly; this is crucially important, or else the decorator functions in Command will not work!

Constructor & Destructor Documentation

◆ GripCubeCommand()

GripCubeCommand::GripCubeCommand ( LifterSubsystem lifter,
BashGuardSubsystem bash,
IntakeSubsystem intake 
)

Member Function Documentation

◆ End()

void GripCubeCommand::End ( bool  interrupted)
override

◆ Execute()

void GripCubeCommand::Execute ( )
override

◆ Initialize()

void GripCubeCommand::Initialize ( )
override

◆ IsFinished()

bool GripCubeCommand::IsFinished ( )
override

Member Data Documentation

◆ m_allCommands

frc2::CommandPtr GripCubeCommand::m_allCommands
private

◆ m_bash

BashGuardSubsystem& GripCubeCommand::m_bash
private

◆ m_intake

IntakeSubsystem& GripCubeCommand::m_intake
private

◆ m_lifter

LifterSubsystem& GripCubeCommand::m_lifter
private

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