mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
42 lines
691 B
C
42 lines
691 B
C
|
|
/*
|
||
|
|
* Robot.h
|
||
|
|
*
|
||
|
|
* Created on: Jun 3, 2014
|
||
|
|
* Author: alex
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef MY_ROBOT_H_
|
||
|
|
#define MY_ROBOT_H_
|
||
|
|
|
||
|
|
#include "WPILib.h"
|
||
|
|
#include "Commands/Command.h"
|
||
|
|
|
||
|
|
#include "Subsystems/DriveTrain.h"
|
||
|
|
#include "Subsystems/Elevator.h"
|
||
|
|
#include "Subsystems/Wrist.h"
|
||
|
|
#include "Subsystems/Claw.h"
|
||
|
|
#include "OI.h"
|
||
|
|
|
||
|
|
class Robot: public IterativeRobot {
|
||
|
|
public:
|
||
|
|
static DriveTrain* drivetrain;
|
||
|
|
static Elevator* elevator;
|
||
|
|
static Wrist* wrist;
|
||
|
|
static Claw* claw;
|
||
|
|
static OI* oi;
|
||
|
|
|
||
|
|
private:
|
||
|
|
Command *autonomousCommand;
|
||
|
|
LiveWindow *lw;
|
||
|
|
|
||
|
|
void RobotInit();
|
||
|
|
void AutonomousInit();
|
||
|
|
void AutonomousPeriodic();
|
||
|
|
void TeleopInit();
|
||
|
|
void TeleopPeriodic();
|
||
|
|
void TestPeriodic();
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
#endif /* ROBOT_H_ */
|