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

#include <autonomous_choreo_test.h>

Inheritance diagram for AutonomousChoreoTest:
AutonomousCommand

Public Member Functions

 AutonomousChoreoTest (ElevatorSubsystem &elevator, IntakeSubsystem &intake, ShooterSubsystem &shooter, SwerveDriveSubsystem &swerve, VisionSubsystem &vision)
 
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

ElevatorSubsystemm_Elevator
 
IntakeSubsystemm_Intake
 
ShooterSubsystemm_Shooter
 
SwerveDriveSubsystemm_Swerve
 
VisionSubsystemm_Vision
 
frc2::SequentialCommandGroup m_allCommands
 

Detailed Description

Constructor & Destructor Documentation

◆ AutonomousChoreoTest()

AutonomousChoreoTest::AutonomousChoreoTest ( ElevatorSubsystem elevator,
IntakeSubsystem intake,
ShooterSubsystem shooter,
SwerveDriveSubsystem swerve,
VisionSubsystem vision 
)

Member Function Documentation

◆ End()

void AutonomousChoreoTest::End ( bool  interrupted)
override

◆ Execute()

void AutonomousChoreoTest::Execute ( )
override

◆ GetCommand()

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

Get the command to run when selected from dashboard.

Returns
frc2::Command* Command to run

Implements AutonomousCommand.

◆ GetName()

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

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

Returns
std::string Name to display

Implements AutonomousCommand.

◆ Initialize()

void AutonomousChoreoTest::Initialize ( )
override

◆ IsFinished()

bool AutonomousChoreoTest::IsFinished ( )
override

Member Data Documentation

◆ m_allCommands

frc2::SequentialCommandGroup AutonomousChoreoTest::m_allCommands
private

◆ m_Elevator

ElevatorSubsystem& AutonomousChoreoTest::m_Elevator
private

◆ m_Intake

IntakeSubsystem& AutonomousChoreoTest::m_Intake
private

◆ m_Shooter

ShooterSubsystem& AutonomousChoreoTest::m_Shooter
private

◆ m_Swerve

SwerveDriveSubsystem& AutonomousChoreoTest::m_Swerve
private

◆ m_Vision

VisionSubsystem& AutonomousChoreoTest::m_Vision
private

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