2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
autonomous_cable_protector_slam_grab_balance.h
Go to the documentation of this file.
1
4
5#pragma once
6
8#include <frc2/command/CommandBase.h>
9#include <frc2/command/CommandHelper.h>
10
11#include <string>
12
19
28 : public frc2::CommandHelper<frc2::CommandBase, AutoCableProtectSlamGrabBalance>
29 , public AutonomousCommand {
30 public:
34 LifterSubsystem& lifter,
36 IntakeSubsystem& intake);
37
38 void Initialize() override;
39
40 void Execute() override;
41
42 void End(bool interrupted) override;
43
44 bool IsFinished() override;
48 std::string GetName() const final;
52 frc2::Command* GetCommand() final;
53
54 private:
61
62 frc2::CommandPtr m_allCommands;
63};
Definition autonomous_cable_protector_slam_grab_balance.h:29
void End(bool interrupted) override
Definition autonomous_cable_protector_slam_grab_balance.cpp:108
void Execute() override
Definition autonomous_cable_protector_slam_grab_balance.cpp:103
bool IsFinished() override
Definition autonomous_cable_protector_slam_grab_balance.cpp:116
SimpleLedSubsystem & m_leds
Definition autonomous_cable_protector_slam_grab_balance.h:56
void Initialize() override
Definition autonomous_cable_protector_slam_grab_balance.cpp:42
SwerveDriveSubsystem & m_drive
Definition autonomous_cable_protector_slam_grab_balance.h:55
BashGuardSubsystem & m_bash
Definition autonomous_cable_protector_slam_grab_balance.h:59
frc2::Command * GetCommand() final
Get the command to run when selected from dashboard.
Definition autonomous_cable_protector_slam_grab_balance.cpp:131
IntakeSubsystem & m_intake
Definition autonomous_cable_protector_slam_grab_balance.h:60
OuiOuiPlacerSubsystem & m_ouiOui
Definition autonomous_cable_protector_slam_grab_balance.h:57
std::string GetName() const final
Get the name of the command to display on the dashboard.
Definition autonomous_cable_protector_slam_grab_balance.cpp:124
frc2::CommandPtr m_allCommands
Definition autonomous_cable_protector_slam_grab_balance.h:62
LifterSubsystem & m_lifter
Definition autonomous_cable_protector_slam_grab_balance.h:58
A command that can be selected from the dashboard.
Definition autonomous_command.h:14
Definition bash_guard_subsystem.h:14
Definition intake_subsystem.h:17
Definition lifter_subsystem.h:26
Definition oui_oui_placer_subsystem.h:13
Definition simple_led_subsystem.h:25
Subsystem for controlling the swerve drivetrain of the robot.
Definition swerve_drive_subsystem.h:56
Definition Constants.h:69