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

#include <autonomous_loading_station_3gp.h>

Inheritance diagram for AutonomousLoadingStation3GP:
AutonomousCommand

Public Member Functions

 AutonomousLoadingStation3GP (SwerveDriveSubsystem &drive, BashGuardSubsystem &bash, LifterSubsystem &lifter, IntakeSubsystem &intake, SimpleLedSubsystem &leds, OuiOuiPlacerSubsystem &placer)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 
std::string GetName () const final
 Get the name of the command to display on the dashboard.
 
frc2::Command * GetCommand () final
 Get the command to run when selected from dashboard.
 
- Public Member Functions inherited from AutonomousCommand
 AutonomousCommand ()=default
 

Private Attributes

SwerveDriveSubsystemm_drive
 
BashGuardSubsystemm_bashGuard
 
LifterSubsystemm_lifter
 
IntakeSubsystemm_intake
 
SimpleLedSubsystemm_leds
 
OuiOuiPlacerSubsystemm_placer
 
frc2::CommandPtr m_allCommands
 

Detailed Description

Constructor & Destructor Documentation

◆ AutonomousLoadingStation3GP()

AutonomousLoadingStation3GP::AutonomousLoadingStation3GP ( SwerveDriveSubsystem drive,
BashGuardSubsystem bash,
LifterSubsystem lifter,
IntakeSubsystem intake,
SimpleLedSubsystem leds,
OuiOuiPlacerSubsystem placer 
)

Member Function Documentation

◆ End()

void AutonomousLoadingStation3GP::End ( bool  interrupted)
override

◆ Execute()

void AutonomousLoadingStation3GP::Execute ( )
override

◆ GetCommand()

frc2::Command * AutonomousLoadingStation3GP::GetCommand ( )
finalvirtual

Get the command to run when selected from dashboard.

Returns
frc2::Command* Command to run

Implements AutonomousCommand.

◆ GetName()

std::string AutonomousLoadingStation3GP::GetName ( ) const
finalvirtual

Get the name of the command to display on the dashboard.

Returns
std::string Name to display

Implements AutonomousCommand.

◆ Initialize()

void AutonomousLoadingStation3GP::Initialize ( )
override

◆ IsFinished()

bool AutonomousLoadingStation3GP::IsFinished ( )
override

Member Data Documentation

◆ m_allCommands

frc2::CommandPtr AutonomousLoadingStation3GP::m_allCommands
private

◆ m_bashGuard

BashGuardSubsystem& AutonomousLoadingStation3GP::m_bashGuard
private

◆ m_drive

SwerveDriveSubsystem& AutonomousLoadingStation3GP::m_drive
private

◆ m_intake

IntakeSubsystem& AutonomousLoadingStation3GP::m_intake
private

◆ m_leds

SimpleLedSubsystem& AutonomousLoadingStation3GP::m_leds
private

◆ m_lifter

LifterSubsystem& AutonomousLoadingStation3GP::m_lifter
private

◆ m_placer

OuiOuiPlacerSubsystem& AutonomousLoadingStation3GP::m_placer
private

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