2018-11-30 14:15:17 +08:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2020-01-24 23:01:23 -05:00
|
|
|
/* Copyright (c) 2018-2020 FIRST. All Rights Reserved. */
|
2018-11-30 14:15:17 +08: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. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <frc/TimedRobot.h>
|
|
|
|
|
|
|
|
|
|
class Robot : public frc::TimedRobot {
|
|
|
|
|
public:
|
|
|
|
|
void RobotInit() override;
|
2020-01-24 23:01:23 -05:00
|
|
|
void RobotPeriodic() override;
|
2018-11-30 14:15:17 +08:00
|
|
|
|
|
|
|
|
void AutonomousInit() override;
|
|
|
|
|
void AutonomousPeriodic() override;
|
|
|
|
|
|
|
|
|
|
void TeleopInit() override;
|
|
|
|
|
void TeleopPeriodic() override;
|
|
|
|
|
|
2020-01-24 23:01:23 -05:00
|
|
|
void DisabledInit() override;
|
|
|
|
|
void DisabledPeriodic() override;
|
|
|
|
|
|
2018-11-30 14:15:17 +08:00
|
|
|
void TestInit() override;
|
|
|
|
|
void TestPeriodic() override;
|
|
|
|
|
};
|