7#include <frc2/command/Command.h>
8#include <frc2/command/CommandHelper.h>
9#include <frc2/command/SequentialCommandGroup.h>
23 :
public frc2::CommandHelper<frc2::Command, AutonomousL4GAlgae>
35 void End(
bool interrupted)
override;
42 std::string
GetName()
const final;
A command that can be selected from the dashboard.
Definition autonomous_command.h:14
Definition autonomous_L4_G_algae.h:24
void Execute() override
Definition autonomous_L4_G_algae.cpp:57
ElevatorSubsystem & m_Elevator
Definition autonomous_L4_G_algae.h:49
VisionSubsystem & m_Vision
Definition autonomous_L4_G_algae.h:52
IntakeSubsystem & m_Intake
Definition autonomous_L4_G_algae.h:50
void Initialize() override
Definition autonomous_L4_G_algae.cpp:52
void End(bool interrupted) override
Definition autonomous_L4_G_algae.cpp:62
SwerveDriveSubsystem & m_Swerve
Definition autonomous_L4_G_algae.h:51
frc2::SequentialCommandGroup m_allCommands
Definition autonomous_L4_G_algae.h:55
AutonomousL4GAlgae(ElevatorSubsystem &elevator, IntakeSubsystem &intake, SwerveDriveSubsystem &swerve, VisionSubsystem &vision)
Definition autonomous_L4_G_algae.cpp:17
std::string GetName() const final
Get the name of the command to display on the dashboard.
Definition autonomous_L4_G_algae.cpp:71
std::function< void(ArmPosition)> m_armPositionEventCallback
Definition autonomous_L4_G_algae.h:53
frc2::Command * GetCommand() final
Get the command to run when selected from dashboard.
Definition autonomous_L4_G_algae.cpp:75
bool IsFinished() override
Definition autonomous_L4_G_algae.cpp:67
Definition elevator_subsystem.h:14
Definition intake_subsystem.h:14
Subsystem for controlling the swerve drivetrain of the robot.
Definition swerve_drive_subsystem.h:75
Definition vision_subsystem.h:136
ArmPosition
Definition position.h:72