2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
grip_cone_command.h
Go to the documentation of this file.
1
4
5#pragma once
6
8#include <frc/smartdashboard/SmartDashboard.h>
9#include <frc2/command/CommandBase.h>
10#include <frc2/command/CommandHelper.h>
11#include <frc2/command/CommandPtr.h>
12#include <frc2/command/InstantCommand.h>
14
15#include <memory>
16
24class GripConeCommand : public frc2::CommandHelper<frc2::CommandBase, GripConeCommand> {
25 public:
26 explicit GripConeCommand(IntakeSubsystem* intake);
27
28 void Initialize() override;
29
30 void Execute() override;
31
32 void End(bool interrupted) override;
33
34 bool IsFinished() override;
35
36 private:
37 frc2::CommandPtr m_allCommands;
38};
Definition grip_cone_command.h:24
void Initialize() override
Definition grip_cone_command.cpp:22
frc2::CommandPtr m_allCommands
Definition grip_cone_command.h:37
void Execute() override
Definition grip_cone_command.cpp:28
void End(bool interrupted) override
Definition grip_cone_command.cpp:33
bool IsFinished() override
Definition grip_cone_command.cpp:40
Definition intake_subsystem.h:17