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

Removed extra file, CommandBase.(h|cpp)

This commit is contained in:
Austen Adler 2015-03-09 10:53:35 -04:00
parent c10a308abf
commit 693664f39c
12 changed files with 10 additions and 61 deletions

View File

@ -1,25 +0,0 @@
#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

View File

@ -1,26 +0,0 @@
#ifndef COMMAND_BASE_H
#define COMMAND_BASE_H
#include <string>
#include "Subsystems/Drivetrain.h"
#include "Subsystems/Collector.h"
#include "Subsystems/Elevator.h"
#include "Subsystems/BinElevator.h"
#include "Subsystems/Pneumatics.h"
#include "OI.h"
#include "WPILib.h"
class CommandBase: public Command{
public:
CommandBase(char const *name);
CommandBase();
static void init();
static Drivetrain *drivetrain;
static Collector *collector;
static Elevator *elevator;
static BinElevator *binElevator;
static Pneumatics *pneumatics;
static OI *oi;
};
#endif
// vim: ts=2:sw=2:et

View File

@ -2,7 +2,7 @@
#define AUTODRIVE_H
#include "Commands/Command.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define AUTONOMOUS_H
#include "Commands/CommandGroup.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define COLLECTTOTE_H
#include "Commands/CommandGroup.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define RELEASETOTE_H
#include "Commands/CommandGroup.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define TURN_H
#include "Commands/Command.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define ROLLIN_H
#include "Commands/Command.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define ROLLOUT_H
#include "Commands/Command.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define DRIVE_H
#include "Commands/Command.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define CHECKDRIVE_H
#include "Commands/Command.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"

View File

@ -2,7 +2,7 @@
#define CHECKROBOT_H
#include "Commands/CommandGroup.h"
#include "../../CommandBase.h"
#include "../../DentRobot.h"
#include "../../DentRobot.h"
#include "WPILib.h"