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

#include <autonomous_nothing.h>

Inheritance diagram for AutonomousNothing:
AutonomousCommand

Public Member Functions

 AutonomousNothing ()
 
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...
 

Detailed Description

Note that this extends CommandHelper, rather extending CommandBase directly; this is crucially important, or else the decorator functions in Command will not work!

Constructor & Destructor Documentation

◆ AutonomousNothing()

AutonomousNothing::AutonomousNothing ( )

Member Function Documentation

◆ End()

void AutonomousNothing::End ( bool  interrupted)
override

◆ Execute()

void AutonomousNothing::Execute ( )
override

◆ GetCommand()

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

Get the command to run when selected from dashboard.

Returns
frc2::Command* Command to run

Implements AutonomousCommand.

◆ GetName()

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

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

Returns
std::string Name to display

Implements AutonomousCommand.

◆ Initialize()

void AutonomousNothing::Initialize ( )
override

◆ IsFinished()

bool AutonomousNothing::IsFinished ( )
override

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