mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
33 lines
1002 B
C++
33 lines
1002 B
C++
#include "CommandBase.h"
|
|
#include "Subsystems/Drivetrain.h"
|
|
#include "Subsystems/Collector.h"
|
|
#include "Subsystems/Elevator.h"
|
|
#include "Subsystems/DIO.h"
|
|
#include "Subsystems/AirCompressor.h"
|
|
//#include "Commands/Drive.h"
|
|
//#include "Commands/CloseCollector.h"
|
|
//#include "Commands/OpenCollector.h"
|
|
//#include "Commands/CollectTote.h"
|
|
//#include "Commands/ReleaseTote.h"
|
|
//#include "Commands/Raise.h"
|
|
//#include "Commands/Lower.h"
|
|
//#include "Commands/Calibrate.h"
|
|
Drivetrain* CommandBase::drivetrain = NULL;
|
|
Collector* CommandBase::collector = NULL;
|
|
Elevator* CommandBase::elevator = NULL;
|
|
DIO* CommandBase::dio = NULL;
|
|
AirCompressor* CommandBase::airCompressor = NULL;
|
|
OI* CommandBase::oi = NULL;
|
|
CommandBase::CommandBase(char const *name) : Command(name) {
|
|
}
|
|
CommandBase::CommandBase() : Command() {
|
|
}
|
|
void CommandBase::init(){
|
|
drivetrain = new Drivetrain();
|
|
collector = new Collector();
|
|
elevator = new Elevator();
|
|
dio = new DIO();
|
|
airCompressor = new AirCompressor();
|
|
oi = new OI();
|
|
}
|