2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/Subsystems/AirCompressor.cpp

19 lines
457 B
C++

#include "AirCompressor.h"
#include "../RobotMap.h"
AirCompressor::AirCompressor() : Subsystem("AirCompressor") {
compressher = new Compressor(31);
}
void AirCompressor::InitDefaultCommand() {
}
int AirCompressor::CreateCompressedAir() {
printf("compressing and stuff\n");
compressher->Start();
return 0;
}
int AirCompressor::StopCreatingCompressedAir() {
printf("not compressing and stuff\n");
compressher->Stop();
return 0;
}