-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDentRobot.h
85 lines (85 loc) · 1.93 KB
/
DentRobot.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#ifndef DENTROBOT_H
#define DENTROBOT_H
#include "WPILib.h"
#include "OI.h"
#include "Subsystems/Elevator.h"
#include "Subsystems/BinElevator.h"
#include "Subsystems/Drivetrain.h"
#include "Subsystems/Collector.h"
#include "Subsystems/Pneumatics.h"
#include "Commands/Autonomous/Autonomous.h"
/**
* @brief The Hitchhikers 2015 robot, Dent
*
* Features a 4-motor collector, 4-motor mecanum drivetrain, two one-motor elevators
*/
class DentRobot: public IterativeRobot{
private:
/**
* @brief The default driving command
*/
Command *driveCommand = NULL;
public:
/**
* @brief Constructs DentRobot
*/
DentRobot();
/**
* @brief The 2-joystick OI
*/
static OI* oi;
/**
* @brief The 4-motor Collector
*/
static Collector* collector;
/**
* @brief The 4-motor mecanum Drivetrain
*/
static Drivetrain* drivetrain;
/**
* @brief The main one-motor Elevator for lifting totes
*/
static Elevator* elevator;
/**
* @brief The back one-motor Elevator for lifting totes or bins
*/
static BinElevator* binElevator;
/**
* @brief The Pneumatics system (unused)
*/
static Pneumatics* pneumatics;
/**
* @brief The Autonomous command
*/
static CommandGroup* aut;
/**
* @brief Initializes the robot
*/
void RobotInit();
/**
* @brief Periodically run when disabled
*/
void DisabledPeriodic();
/**
* @brief Initializes the autonomous period
*/
void AutonomousInit();
/**
* @brief Periodically run when enabled in autonomous
*/
void AutonomousPeriodic();
/**
* @brief Initializes the teleop period
*/
void TeleopInit();
/**
* @brief Periodically run when enabled in autonomous
*/
void TeleopPeriodic();
/**
* @brief Periodically run when enabled in test mode
*/
void TestPeriodic();
};
#endif
// vim: ts=2:sw=2:et