DeepSpace  2019
Compressor.h
Go to the documentation of this file.
1 #ifndef _cCompressor_HG_
3 #define _cCompressor_HG_
4 
5 #include <frc/commands/Subsystem.h>
6 #include "RobotMap.h"
8 #include <frc/Compressor.h>
9 
10 class cCompressor : public frc::Subsystem {
11  public:
12  cCompressor();
13  void InitDefaultCommand() override;
14 
20  void SetState(bool enabled);
21 
22  private:
23  frc::Compressor* pCompressor;
24 };
25 
26 #endif // _cCompressor_HG_
void SetState(bool enabled)
Definition: Compressor.cpp:14
frc::Compressor * pCompressor
Definition: Compressor.h:23
void InitDefaultCommand() override
Initalizes the default command for this subsystem (DriveWithJoystick)
Definition: Compressor.cpp:10
A subsystem that interfaces with the robot&#39;s cCompressor.
Definition: Compressor.h:10
cCompressor()
Class constructor.
Definition: Compressor.cpp:4