2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
grip_cube_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>
16
17#include <memory>
18
26class GripCubeCommand : public frc2::CommandHelper<frc2::CommandBase, GripCubeCommand> {
27 public:
29
30 void Initialize() override;
31
32 void Execute() override;
33
34 void End(bool interrupted) override;
35
36 bool IsFinished() override;
37
38 private:
42
43 frc2::CommandPtr m_allCommands;
44};
Definition bash_guard_subsystem.h:14
Definition grip_cube_command.h:26
void Execute() override
Definition grip_cube_command.cpp:30
BashGuardSubsystem & m_bash
Definition grip_cube_command.h:41
frc2::CommandPtr m_allCommands
Definition grip_cube_command.h:43
LifterSubsystem & m_lifter
Definition grip_cube_command.h:39
void End(bool interrupted) override
Definition grip_cube_command.cpp:38
IntakeSubsystem & m_intake
Definition grip_cube_command.h:40
void Initialize() override
Definition grip_cube_command.cpp:24
bool IsFinished() override
Definition grip_cube_command.cpp:46
Definition intake_subsystem.h:17
Definition lifter_subsystem.h:26