mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
17 lines
409 B
C++
17 lines
409 B
C++
#include "AirCompressor.h"
|
|
#include "../RobotMap.h"
|
|
|
|
AirCompressor::AirCompressor() : Subsystem("AirCompressor") {
|
|
compressor = new Compressor(COMPRESSOR_CAN);
|
|
}
|
|
void AirCompressor::InitDefaultCommand() {
|
|
}
|
|
void AirCompressor::StartCompressing() {
|
|
printf("Starting compressor\n");
|
|
compressor->Start();
|
|
}
|
|
void AirCompressor::StopCompressing() {
|
|
printf("Stopping compressor\n");
|
|
compressor->Stop();
|
|
}
|