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

22 lines
652 B
C++
Raw Normal View History

#include "CommandBase.h"
#include "Subsystems/Drivetrain.h"
#include "Subsystems/Collector.h"
#include "Subsystems/Elevator.h"
2015-01-20 07:02:46 -05:00
#include "Subsystems/AirCompressor.h"
Drivetrain* CommandBase::drivetrain = NULL;
Collector* CommandBase::collector = NULL;
Elevator* CommandBase::elevator = NULL;
2015-01-20 07:02:46 -05:00
AirCompressor* CommandBase::airCompressor = NULL;
OI* CommandBase::oi = NULL;
CommandBase::CommandBase(char const *name) : Command(name) {
}
CommandBase::CommandBase() : Command() {
}
2015-02-02 19:56:27 -05:00
void CommandBase::init(){
drivetrain = new Drivetrain();
collector = new Collector();
elevator = new Elevator();
2015-01-20 07:02:46 -05:00
airCompressor = new AirCompressor();
oi = new OI();
}