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

#include <autonomous_right_5ball_gap.h>

Inheritance diagram for AutonomousRight5ballGap:
AutonomousCommand

Public Member Functions

 AutonomousRight5ballGap (IntakeSubsystem *pIntake, ShooterSubsystem *pShooter, SwerveDriveSubsystem *pDrive)
 
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. More...
 
frc2::Command * GetCommand () final
 Get the command to run when selected from dashboard. More...
 
- Public Member Functions inherited from AutonomousCommand
 AutonomousCommand ()=default
 
virtual std::string GetName () const =0
 Get the name of the command to display on the dashboard. More...
 
virtual frc2::Command * GetCommand ()=0
 Get the command to run when selected from dashboard. More...
 

Private Attributes

IntakeSubsystemm_pIntake
 
ShooterSubsystemm_pShooter
 
SwerveDriveSubsystemm_pDrive
 
DelayCommand m_humanPlayerDelay
 
DelayCommand m_shootDelay
 
DriveToLocation m_driveToBallB
 
DriveToLocation m_driveToBallD
 
DriveToLocation m_driveBackFromTerminal
 
DriveToLocation m_driveToFinalShootPosition
 
ShootCommand m_shootOneBall
 
ShootCommand m_shootTwoBall
 
AutoPositionAimCommand m_aimBallB
 
AutoPositionAimCommand m_aimBallD
 
AutoVisionAimCommand m_visionAim
 
frc2::SequentialCommandGroup m_allCommandsBlue
 
frc2::SequentialCommandGroup m_allCommandsRed
 
frc2::SequentialCommandGroup * m_commandSet
 

Detailed Description

Constructor & Destructor Documentation

◆ AutonomousRight5ballGap()

AutonomousRight5ballGap::AutonomousRight5ballGap ( IntakeSubsystem pIntake,
ShooterSubsystem pShooter,
SwerveDriveSubsystem pDrive 
)

Member Function Documentation

◆ End()

void AutonomousRight5ballGap::End ( bool  interrupted)
override

◆ Execute()

void AutonomousRight5ballGap::Execute ( )
override

◆ GetCommand()

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

Get the command to run when selected from dashboard.

Returns
frc2::Command* Command to run

Implements AutonomousCommand.

◆ GetName()

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

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

Returns
std::string Name to display

Implements AutonomousCommand.

◆ Initialize()

void AutonomousRight5ballGap::Initialize ( )
override

◆ IsFinished()

bool AutonomousRight5ballGap::IsFinished ( )
override

Member Data Documentation

◆ m_aimBallB

AutoPositionAimCommand AutonomousRight5ballGap::m_aimBallB
private

◆ m_aimBallD

AutoPositionAimCommand AutonomousRight5ballGap::m_aimBallD
private

◆ m_allCommandsBlue

frc2::SequentialCommandGroup AutonomousRight5ballGap::m_allCommandsBlue
private

◆ m_allCommandsRed

frc2::SequentialCommandGroup AutonomousRight5ballGap::m_allCommandsRed
private

◆ m_commandSet

frc2::SequentialCommandGroup* AutonomousRight5ballGap::m_commandSet
private

◆ m_driveBackFromTerminal

DriveToLocation AutonomousRight5ballGap::m_driveBackFromTerminal
private

◆ m_driveToBallB

DriveToLocation AutonomousRight5ballGap::m_driveToBallB
private

◆ m_driveToBallD

DriveToLocation AutonomousRight5ballGap::m_driveToBallD
private

◆ m_driveToFinalShootPosition

DriveToLocation AutonomousRight5ballGap::m_driveToFinalShootPosition
private

◆ m_humanPlayerDelay

DelayCommand AutonomousRight5ballGap::m_humanPlayerDelay
private

◆ m_pDrive

SwerveDriveSubsystem* AutonomousRight5ballGap::m_pDrive
private

◆ m_pIntake

IntakeSubsystem* AutonomousRight5ballGap::m_pIntake
private

◆ m_pShooter

ShooterSubsystem* AutonomousRight5ballGap::m_pShooter
private

◆ m_shootDelay

DelayCommand AutonomousRight5ballGap::m_shootDelay
private

◆ m_shootOneBall

ShootCommand AutonomousRight5ballGap::m_shootOneBall
private

◆ m_shootTwoBall

ShootCommand AutonomousRight5ballGap::m_shootTwoBall
private

◆ m_visionAim

AutoVisionAimCommand AutonomousRight5ballGap::m_visionAim
private

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