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

17 lines
409 B
C++
Raw Normal View History

2015-01-20 07:02:46 -05:00
#include "AirCompressor.h"
#include "../RobotMap.h"
AirCompressor::AirCompressor() : Subsystem("AirCompressor") {
2015-02-02 19:56:27 -05:00
compressor = new Compressor(COMPRESSOR_CAN);
2015-01-20 07:02:46 -05:00
}
void AirCompressor::InitDefaultCommand() {
}
2015-02-02 19:56:27 -05:00
void AirCompressor::StartCompressing() {
printf("Starting compressor\n");
compressor->Start();
2015-01-20 07:02:46 -05:00
}
2015-02-02 19:56:27 -05:00
void AirCompressor::StopCompressing() {
printf("Stopping compressor\n");
compressor->Stop();
2015-01-20 07:02:46 -05:00
}