forked from rosekunkel/422-robot-2013
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeam422Robot.h
47 lines (38 loc) · 1.08 KB
/
Team422Robot.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
/**
* @file Team422Robot.h
* @brief Declaration of the main class for the robot
* @author Nyle Rodgers
* @author William Kunkel
*/
#include "WPILib.h"
#include "Commands/Command.h"
#include "CompilationSettings.h"
#include "CommandBase.h"
#include "Commands/AutonomousCommand.h"
/**
* @brief The main class for the robot
*
* The class that controls the main operation of the robot. It defines the
* sequence of actions to run during each phase of the robot's operation.
*
* @author Nyle Rodgers
* @author William Kunkel
*/
class Team422Robot : public IterativeRobot {
private:
Command *autonomousCommand;
DriverStationLCD *dashboard;
LiveWindow *liveWindow;
/// Robot-wide initialization code
void RobotInit();
/// Initialization for autonomous phase
void AutonomousInit();
/// Run periodically during the autonomous phase
void AutonomousPeriodic();
/// Initialization for the teleoperated phase
void TeleopInit();
/// Run periodically during the teleoperated phase
void TeleopPeriodic();
/// Run periodically when the robot is in test mode
void TestPeriodic();
};