2022-Robot
Robot code for 2022 FRC Season by Argos, FRC team #1756
Loading...
Searching...
No Matches
IntakeCommand Class Reference

#include <intake_command.h>

Inheritance diagram for IntakeCommand:

Public Member Functions

 IntakeCommand (IntakeSubsystem *subsytem)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Public Attributes

IntakeSubsystemm_pIntake
 
bool m_previousBallPresent
 

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

◆ IntakeCommand()

IntakeCommand::IntakeCommand ( IntakeSubsystem subsystem)
explicit

Member Function Documentation

◆ End()

void IntakeCommand::End ( bool  interrupted)
override

◆ Execute()

void IntakeCommand::Execute ( )
override

◆ Initialize()

void IntakeCommand::Initialize ( )
override

◆ IsFinished()

bool IntakeCommand::IsFinished ( )
override

Member Data Documentation

◆ m_pIntake

IntakeSubsystem* IntakeCommand::m_pIntake

◆ m_previousBallPresent

bool IntakeCommand::m_previousBallPresent

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