2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
bashguard_homing_command.h
Go to the documentation of this file.
1
4
5#pragma once
7#include <frc2/command/CommandBase.h>
8#include <frc2/command/CommandHelper.h>
10
18class BashGuardHomingCommand : public frc2::CommandHelper<frc2::CommandBase, BashGuardHomingCommand> {
19 public:
20 explicit BashGuardHomingCommand(BashGuardSubsystem& subsystem);
21
22 void Initialize() override;
23
24 void Execute() override;
25
26 void End(bool interrupted) override;
27
28 bool IsFinished() override;
29
30 private:
33 std::chrono::time_point<std::chrono::steady_clock> m_startTime;
34};
Definition bashguard_homing_command.h:18
BashGuardSubsystem & m_bashGuardSubsytem
Definition bashguard_homing_command.h:31
void Execute() override
Definition bashguard_homing_command.cpp:25
void Initialize() override
Definition bashguard_homing_command.cpp:17
std::chrono::time_point< std::chrono::steady_clock > m_startTime
Definition bashguard_homing_command.h:33
void End(bool interrupted) override
Definition bashguard_homing_command.cpp:36
bool IsFinished() override
Definition bashguard_homing_command.cpp:47
argos_lib::Debouncer m_bashGuardMovingDebounce
Definition bashguard_homing_command.h:32
Definition bash_guard_subsystem.h:14
Definition debouncer.h:14