2016-11-01 23:41:05 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2018-01-02 09:20:21 -08:00
|
|
|
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
|
2016-11-01 23:41:05 -07:00
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
2018-07-20 00:03:45 -07:00
|
|
|
#include <frc/IterativeRobot.h>
|
2016-11-01 23:41:05 -07:00
|
|
|
|
2017-12-08 21:40:11 -08:00
|
|
|
class MyRobot : public frc::IterativeRobot {
|
2016-11-01 23:41:05 -07:00
|
|
|
/**
|
|
|
|
|
* This function is run when the robot is first started up and should be
|
|
|
|
|
* used for any initialization code.
|
|
|
|
|
*/
|
|
|
|
|
void RobotInit() override {}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function is run once each time the robot enters autonomous mode
|
|
|
|
|
*/
|
|
|
|
|
void AutonomousInit() override {}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function is called periodically during autonomous
|
|
|
|
|
*/
|
|
|
|
|
void AutonomousPeriodic() override {}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function is called once each time the robot enters tele-operated mode
|
|
|
|
|
*/
|
|
|
|
|
void TeleopInit() override {}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function is called periodically during operator control
|
|
|
|
|
*/
|
|
|
|
|
void TeleopPeriodic() override {}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function is called periodically during test mode
|
|
|
|
|
*/
|
|
|
|
|
void TestPeriodic() override {}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function is called periodically during all modes
|
|
|
|
|
*/
|
|
|
|
|
void RobotPeriodic() override {}
|
|
|
|
|
};
|
|
|
|
|
|
2018-05-16 19:54:39 -07:00
|
|
|
int main() { return frc::StartRobot<MyRobot>(); }
|