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

#include <autonomous_zero_note.h>

Inheritance diagram for AutonomousZeroNote:
AutonomousCommand

Public Member Functions

 AutonomousZeroNote (SwerveDriveSubsystem &swerve)
 
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_Swerve
 
frc2::SequentialCommandGroup m_commands
 

Detailed Description

Constructor & Destructor Documentation

◆ AutonomousZeroNote()

AutonomousZeroNote::AutonomousZeroNote ( SwerveDriveSubsystem swerve)
explicit

Member Function Documentation

◆ End()

void AutonomousZeroNote::End ( bool  interrupted)
override

◆ Execute()

void AutonomousZeroNote::Execute ( )
override

◆ GetCommand()

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

Get the command to run when selected from dashboard.

Returns
frc2::Command* Command to run

Implements AutonomousCommand.

◆ GetName()

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

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

Returns
std::string Name to display

Implements AutonomousCommand.

◆ Initialize()

void AutonomousZeroNote::Initialize ( )
override

◆ IsFinished()

bool AutonomousZeroNote::IsFinished ( )
override

Member Data Documentation

◆ m_commands

frc2::SequentialCommandGroup AutonomousZeroNote::m_commands
private

◆ m_Swerve

SwerveDriveSubsystem& AutonomousZeroNote::m_Swerve
private

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