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

#include <crossfield_shot_command.h>

Inheritance diagram for CrossfieldShotCommand:

Public Member Functions

 CrossfieldShotCommand (ShooterSubsystem *shooter, ElevatorSubsystem *elevator)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Attributes

ShooterSubsystemm_pShooter
 
ElevatorSubsystemm_pElevator
 

Detailed Description

Constructor & Destructor Documentation

◆ CrossfieldShotCommand()

CrossfieldShotCommand::CrossfieldShotCommand ( ShooterSubsystem shooter,
ElevatorSubsystem elevator 
)

Member Function Documentation

◆ End()

void CrossfieldShotCommand::End ( bool  interrupted)
override

◆ Execute()

void CrossfieldShotCommand::Execute ( )
override

◆ Initialize()

void CrossfieldShotCommand::Initialize ( )
override

◆ IsFinished()

bool CrossfieldShotCommand::IsFinished ( )
override

Member Data Documentation

◆ m_pElevator

ElevatorSubsystem* CrossfieldShotCommand::m_pElevator
private

◆ m_pShooter

ShooterSubsystem* CrossfieldShotCommand::m_pShooter
private

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