7#include <frc2/command/Command.h>
8#include <frc2/command/CommandHelper.h>
16class ShooterCommand :
public frc2::CommandHelper<frc2::Command, ShooterCommand> {
24 void End(
bool interrupted)
override;
34 std::chrono::time_point<std::chrono::steady_clock>
m_startTime;
Definition shooter_command.h:16
bool IsFinished() override
Definition shooter_command.cpp:43
void Execute() override
Definition shooter_command.cpp:26
ShooterSubsystem * m_pShooter
Definition shooter_command.h:29
bool m_notePresent
Definition shooter_command.h:31
bool m_endAfterShot
Definition shooter_command.h:30
std::chrono::time_point< std::chrono::steady_clock > m_startTime
Definition shooter_command.h:34
bool m_noteShot
Definition shooter_command.h:32
void Initialize() override
Definition shooter_command.cpp:18
units::millisecond_t m_timeout
Definition shooter_command.h:33
void End(bool interrupted) override
Definition shooter_command.cpp:37
Definition shooter_subsystem.h:13