2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
oui_oui_place_cone_command.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <frc2/command/CommandBase.h>
8#include <frc2/command/CommandHelper.h>
10
11#include <chrono>
12
13class OuiOuiPlaceConeCommand : public frc2::CommandHelper<frc2::CommandBase, OuiOuiPlaceConeCommand> {
14 public:
15 explicit OuiOuiPlaceConeCommand(OuiOuiPlacerSubsystem* ouiOuiPlacer);
16
17 void Initialize() override;
18
19 void Execute() override;
20
21 void End(bool interrupted) override;
22
23 bool IsFinished() override;
24
25 private:
27 std::chrono::steady_clock::time_point m_startTime;
28};
Definition oui_oui_place_cone_command.h:13
bool IsFinished() override
Definition oui_oui_place_cone_command.cpp:38
void Execute() override
Definition oui_oui_place_cone_command.cpp:23
OuiOuiPlacerSubsystem * m_ouiOuiPlacer
Definition oui_oui_place_cone_command.h:26
void Initialize() override
Definition oui_oui_place_cone_command.cpp:18
std::chrono::steady_clock::time_point m_startTime
Definition oui_oui_place_cone_command.h:27
void End(bool interrupted) override
Definition oui_oui_place_cone_command.cpp:32
Definition oui_oui_placer_subsystem.h:13