2015-01-11 16:02:49 -05:00
|
|
|
#include "CommandBase.h"
|
|
|
|
#include "Subsystems/Drivetrain.h"
|
|
|
|
#include "Subsystems/Collector.h"
|
|
|
|
#include "Subsystems/Elevator.h"
|
2015-02-10 20:12:41 -05:00
|
|
|
#include "Subsystems/BinElevator.h"
|
2015-02-20 15:54:41 -05:00
|
|
|
#include "Subsystems/Pneumatics.h"
|
2015-01-11 16:02:49 -05:00
|
|
|
Drivetrain* CommandBase::drivetrain = NULL;
|
|
|
|
Collector* CommandBase::collector = NULL;
|
|
|
|
Elevator* CommandBase::elevator = NULL;
|
2015-02-10 20:12:41 -05:00
|
|
|
BinElevator* CommandBase::binElevator = NULL;
|
2015-02-20 15:54:41 -05:00
|
|
|
Pneumatics* CommandBase::pneumatics=NULL;
|
2015-01-11 16:02:49 -05:00
|
|
|
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(){
|
2015-01-11 16:02:49 -05:00
|
|
|
drivetrain = new Drivetrain();
|
|
|
|
collector = new Collector();
|
|
|
|
elevator = new Elevator();
|
2015-02-10 20:12:41 -05:00
|
|
|
binElevator = new BinElevator();
|
2015-02-20 15:54:41 -05:00
|
|
|
pneumatics = new Pneumatics();
|
2015-01-11 16:02:49 -05:00
|
|
|
oi = new OI();
|
|
|
|
}
|
2015-02-08 12:26:15 -05:00
|
|
|
// vim: ts=2:sw=2:et
|