[examples] Add TimesliceRobot templates (#3683)

This commit is contained in:
Tyler Veness
2023-09-15 20:42:21 -07:00
committed by GitHub
parent 9047682202
commit 19a8850fb1
11 changed files with 486 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
// 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.
#pragma once
#include <frc/TimesliceRobot.h>
class Robot : public frc::TimesliceRobot {
public:
Robot();
void RobotInit() override;
void RobotPeriodic() override;
void AutonomousInit() override;
void AutonomousPeriodic() override;
void TeleopInit() override;
void TeleopPeriodic() override;
void DisabledInit() override;
void DisabledPeriodic() override;
void TestInit() override;
void TestPeriodic() override;
};