2014-05-24 14:29:44 -04:00
|
|
|
#ifndef __ZAPHOD_BASE_H__
|
|
|
|
#define __ZAPHOD_BASE_H__
|
|
|
|
|
|
|
|
#include <WPILib.h>
|
|
|
|
#include "ZaphodRobot.h"
|
|
|
|
#include "Subsystems/Controller.h"
|
|
|
|
#include "Subsystems/Shooter.h"
|
|
|
|
#include "Subsystems/Collector.h"
|
2014-05-25 10:45:03 -04:00
|
|
|
#include "Subsystems/Compressor.h"
|
2014-05-24 14:29:44 -04:00
|
|
|
|
|
|
|
//Because this is the first header to be compiled, classes need to be declared here
|
|
|
|
class ZaphodRobot;
|
|
|
|
class ZaphodShooter;
|
|
|
|
class ZaphodCollector;
|
2014-05-25 10:45:03 -04:00
|
|
|
class ZaphodCompressor;
|
2014-05-24 14:29:44 -04:00
|
|
|
class JoystickController;
|
|
|
|
|
|
|
|
class ZaphodBase : public IterativeRobot
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
ZaphodRobot* zBot;
|
|
|
|
public:
|
|
|
|
ZaphodBase();
|
|
|
|
void RobotInit();
|
|
|
|
void DisabledInit();
|
|
|
|
void AutonomousInit();
|
|
|
|
void TeleopInit();
|
|
|
|
void DisabledContinuous();
|
|
|
|
void AutonomousContinuous();
|
|
|
|
void TeleopContinuous();
|
|
|
|
void DisabledPeriodic();
|
|
|
|
void AutonomousPeriodic();
|
|
|
|
void TeleopPeriodic();
|
|
|
|
};
|
|
|
|
#endif
|