mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
26 lines
769 B
C++
26 lines
769 B
C++
#include "CommandBase.h"
|
|
#include "Subsystems/Drivetrain.h"
|
|
#include "Subsystems/Collector.h"
|
|
#include "Subsystems/Elevator.h"
|
|
#include "Subsystems/BinElevator.h"
|
|
#include "Subsystems/Pneumatics.h"
|
|
Drivetrain* CommandBase::drivetrain = NULL;
|
|
Collector* CommandBase::collector = NULL;
|
|
Elevator* CommandBase::elevator = NULL;
|
|
BinElevator* CommandBase::binElevator = NULL;
|
|
Pneumatics* CommandBase::pneumatics=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();
|
|
binElevator = new BinElevator();
|
|
pneumatics = new Pneumatics();
|
|
oi = new OI();
|
|
}
|
|
// vim: ts=2:sw=2:et
|