2
0
mirror of https://github.com/team2059/Zaphod synced 2024-12-28 20:12:29 -05:00
zaphod/Subsystems/Compressor.h

23 lines
428 B
C
Raw Normal View History

#include <WPILib.h>
#include "../Definitions.h"
class ZaphodCompressor
{
private:
Compressor *compressor;
Solenoid *solenoid1, *solenoid2;
public:
enum
{
EXTENDED,
RETRACTED,
IDLE
}e_CollectorSolenoidState;
ZaphodCompressor();
void compressorSystemPeriodic();
void extendCollector();
void retractCollector();
void startCompressing();
void stopCompressing();
};