2024-Robot
Robot code for 2024 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/Command.h>
8#include <frc2/command/CommandHelper.h>
9
10#include <string>
11
15
17 : public frc2::CommandHelper<frc2::Command, AutonomousNothing>
18 , public AutonomousCommand {
19 public:
21
22 void Initialize() override;
23
24 void Execute() override;
25
26 void End(bool interrupted) override;
27
28 bool IsFinished() override;
29
33 std::string GetName() const final;
37 frc2::Command* GetCommand() final;
38
39 private:
43};
A command that can be selected from the dashboard.
Definition autonomous_command.h:14
Definition autonomous_nothing.h:18
frc2::Command * GetCommand() final
Get the command to run when selected from dashboard.
Definition autonomous_nothing.cpp:42
InitializeOdometryCommand m_initializeOdometryRed
Definition autonomous_nothing.h:41
void End(bool interrupted) override
Definition autonomous_nothing.cpp:31
void Initialize() override
Definition autonomous_nothing.cpp:17
bool IsFinished() override
Definition autonomous_nothing.cpp:34
void Execute() override
Definition autonomous_nothing.cpp:28
InitializeOdometryCommand m_initializeOdometryBlue
Definition autonomous_nothing.h:42
std::string GetName() const final
Get the name of the command to display on the dashboard.
Definition autonomous_nothing.cpp:38
SwerveDriveSubsystem & m_swerve
Definition autonomous_nothing.h:40
Definition initialize_odometry_command.h:13
Subsystem for controlling the swerve drivetrain of the robot.
Definition swerve_drive_subsystem.h:67