mirror of
https://github.com/team2059/Zaphod
synced 2024-12-28 20:12:29 -05:00
23 lines
428 B
C
23 lines
428 B
C
|
#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();
|
||
|
};
|