mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
35 lines
767 B
C
35 lines
767 B
C
|
|
||
|
#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"
|
||
|
|
||
|
//Because this is the first header to be compiled, classes need to be declared here
|
||
|
class ZaphodRobot;
|
||
|
class ZaphodShooter;
|
||
|
class ZaphodCollector;
|
||
|
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
|