2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
autonomous_nothing.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <frc2/command/CommandBase.h>
8#include <frc2/command/CommandHelper.h>
9
10#include <string>
11
13
15 : public frc2::CommandHelper<frc2::CommandBase, AutonomousNothing>
16 , public AutonomousCommand {
17 public:
19
20 void Initialize() override;
21
22 void Execute() override;
23
24 void End(bool interrupted) override;
25
26 bool IsFinished() override;
27
31 std::string GetName() const final;
35 frc2::Command* GetCommand() final;
36};
A command that can be selected from the dashboard.
Definition autonomous_command.h:14
Definition autonomous_nothing.h:16
frc2::Command * GetCommand() final
Get the command to run when selected from dashboard.
Definition autonomous_nothing.cpp:29
void End(bool interrupted) override
Definition autonomous_nothing.cpp:18
void Initialize() override
Definition autonomous_nothing.cpp:12
bool IsFinished() override
Definition autonomous_nothing.cpp:21
void Execute() override
Definition autonomous_nothing.cpp:15
AutonomousNothing()
Definition autonomous_nothing.cpp:7
std::string GetName() const final
Get the name of the command to display on the dashboard.
Definition autonomous_nothing.cpp:25