mirror of
https://github.com/team2059/Dent
synced 2025-01-07 22:14:14 -05:00
Removed extra file, CommandBase.(h|cpp)
This commit is contained in:
parent
c10a308abf
commit
693664f39c
@ -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
|
|
@ -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
|
|
@ -2,7 +2,7 @@
|
|||||||
#define AUTODRIVE_H
|
#define AUTODRIVE_H
|
||||||
|
|
||||||
#include "Commands/Command.h"
|
#include "Commands/Command.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define AUTONOMOUS_H
|
#define AUTONOMOUS_H
|
||||||
|
|
||||||
#include "Commands/CommandGroup.h"
|
#include "Commands/CommandGroup.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define COLLECTTOTE_H
|
#define COLLECTTOTE_H
|
||||||
|
|
||||||
#include "Commands/CommandGroup.h"
|
#include "Commands/CommandGroup.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define RELEASETOTE_H
|
#define RELEASETOTE_H
|
||||||
|
|
||||||
#include "Commands/CommandGroup.h"
|
#include "Commands/CommandGroup.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define TURN_H
|
#define TURN_H
|
||||||
|
|
||||||
#include "Commands/Command.h"
|
#include "Commands/Command.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define ROLLIN_H
|
#define ROLLIN_H
|
||||||
|
|
||||||
#include "Commands/Command.h"
|
#include "Commands/Command.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define ROLLOUT_H
|
#define ROLLOUT_H
|
||||||
|
|
||||||
#include "Commands/Command.h"
|
#include "Commands/Command.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define DRIVE_H
|
#define DRIVE_H
|
||||||
|
|
||||||
#include "Commands/Command.h"
|
#include "Commands/Command.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define CHECKDRIVE_H
|
#define CHECKDRIVE_H
|
||||||
|
|
||||||
#include "Commands/Command.h"
|
#include "Commands/Command.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define CHECKROBOT_H
|
#define CHECKROBOT_H
|
||||||
|
|
||||||
#include "Commands/CommandGroup.h"
|
#include "Commands/CommandGroup.h"
|
||||||
#include "../../CommandBase.h"
|
#include "../../DentRobot.h"
|
||||||
#include "../../DentRobot.h"
|
#include "../../DentRobot.h"
|
||||||
#include "WPILib.h"
|
#include "WPILib.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user