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

26 lines
771 B
C++
Raw Normal View History

#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"
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;
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-02-10 20:12:41 -05:00
binElevator = new BinElevator();
2015-02-20 15:54:41 -05:00
pneumatics = new Pneumatics();
oi = new OI();
}
2015-02-08 12:26:15 -05:00
// vim: ts=2:sw=2:et