2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
autonomous_command.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <frc2/command/Command.h>
8
9#include <string>
10
15 public:
16 AutonomousCommand() = default;
17
23 virtual std::string GetName() const = 0;
24
30 virtual frc2::Command* GetCommand() = 0;
31};
A command that can be selected from the dashboard.
Definition autonomous_command.h:14
AutonomousCommand()=default
virtual frc2::Command * GetCommand()=0
Get the command to run when selected from dashboard.
virtual std::string GetName() const =0
Get the name of the command to display on the dashboard.