-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommandBase.h
More file actions
47 lines (37 loc) · 1.33 KB
/
CommandBase.h
File metadata and controls
47 lines (37 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef COMMAND_BASE_H
#define COMMAND_BASE_H
#include "Commands/Command.h"
#include "Subsystems/ExampleSubsystem.h"
#include "Subsystems/ConfigSubsystem.h"
#include "Subsystems/CameraSubsystem.h"
#include "Subsystems/CameraLEDsSubsystem.h"
#include "Subsystems/Wheels.h"
#include "Subsystems/ShooterWheel.h"
#include "Subsystems/PanSubsystem.h"
#include "Subsystems/TiltSubsystem.h"
#include "Subsystems/Feeder.h"
#include "Gyro.h"
#include "OI.h"
/**
* The base for all commands. All atomic commands should subclass CommandBase.
* CommandBase stores creates and stores each control system. To access a
* subsystem elsewhere in your code in your code use CommandBase.examplesubsystem
*/
class CommandBase : public Command {
public:
CommandBase(const char *name);
CommandBase();
static void init();
static Wheels * wheels;
static ConfigSubsystem * configSubsystem;
static CameraSubsystem * cameraSubsystem;
static CameraLEDsSubsystem * cameraLEDsSubsystem;
static ShooterWheel * shooterWheel;
static OI * oi;
static PanSubsystem * pan;
static TiltSubsystem * tilt;
static Feeder * feeder;
static Gyro * chassisGyro;
static Gyro * susanGyro;
};
#endif /* COMMAND_BASE_H */