2020-12-26 14:12:05 -08:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2018-11-30 14:15:17 +08:00
|
|
|
|
|
|
|
|
#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;
|
2022-01-22 00:23:46 +00:00
|
|
|
|
|
|
|
|
void SimulationInit() override;
|
|
|
|
|
void SimulationPeriodic() override;
|
2018-11-30 14:15:17 +08:00
|
|
|
};
|