2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
home_arm_extension_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
11class HomeArmExtensionCommand : public frc2::CommandHelper<frc2::CommandBase, HomeArmExtensionCommand> {
12 public:
13 explicit HomeArmExtensionCommand(LifterSubsystem& subsystem);
14
15 void Initialize() override;
16
17 void Execute() override;
18
19 void End(bool interrupted) override;
20
21 bool IsFinished() override;
22
23 private:
26 std::chrono::time_point<std::chrono::steady_clock> m_startTime;
27};
Definition home_arm_extension_command.h:11
void Initialize() override
Definition home_arm_extension_command.cpp:15
void Execute() override
Definition home_arm_extension_command.cpp:25
LifterSubsystem & m_lifterSubsystem
Definition home_arm_extension_command.h:24
bool IsFinished() override
Definition home_arm_extension_command.cpp:44
argos_lib::Debouncer m_armMovingDebounce
Definition home_arm_extension_command.h:25
void End(bool interrupted) override
Definition home_arm_extension_command.cpp:34
std::chrono::time_point< std::chrono::steady_clock > m_startTime
Definition home_arm_extension_command.h:26
Definition lifter_subsystem.h:26
Definition debouncer.h:14