2013-12-15 18:30:16 -05:00
|
|
|
#include "WPILib.h"
|
|
|
|
|
|
2014-02-25 18:43:40 -05:00
|
|
|
class Robot: public IterativeRobot
|
|
|
|
|
{
|
2013-12-15 18:30:16 -05:00
|
|
|
private:
|
|
|
|
|
LiveWindow *lw;
|
2014-02-25 18:43:40 -05:00
|
|
|
|
|
|
|
|
void RobotInit()
|
|
|
|
|
{
|
2013-12-15 18:30:16 -05:00
|
|
|
lw = LiveWindow::GetInstance();
|
|
|
|
|
}
|
2014-02-25 18:43:40 -05:00
|
|
|
|
|
|
|
|
void AutonomousInit()
|
|
|
|
|
{
|
2013-12-15 18:30:16 -05:00
|
|
|
|
|
|
|
|
}
|
2014-02-25 18:43:40 -05:00
|
|
|
|
|
|
|
|
void AutonomousPeriodic()
|
|
|
|
|
{
|
2013-12-15 18:30:16 -05:00
|
|
|
|
|
|
|
|
}
|
2014-02-25 18:43:40 -05:00
|
|
|
|
|
|
|
|
void TeleopInit()
|
|
|
|
|
{
|
|
|
|
|
|
2013-12-15 18:30:16 -05:00
|
|
|
}
|
2014-02-25 18:43:40 -05:00
|
|
|
|
|
|
|
|
void TeleopPeriodic()
|
|
|
|
|
{
|
2013-12-15 18:30:16 -05:00
|
|
|
|
|
|
|
|
}
|
2014-02-25 18:43:40 -05:00
|
|
|
|
|
|
|
|
void TestPeriodic()
|
|
|
|
|
{
|
2013-12-15 18:30:16 -05:00
|
|
|
lw->Run();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
START_ROBOT_CLASS(Robot);
|