10 #include <wpi/deprecated.h>
12 #include "frc/RobotBase.h"
17 "WARNING: While it may look like a good choice to use for your code if "
18 "you're inexperienced, don't. Unless you know what you are doing, complex "
19 "code will be much more difficult under this system. Use TimedRobot or "
20 "Command-Based instead.") SampleRobot :
public RobotBase {
32 void StartCompetition()
override;
99 virtual ~SampleRobot() =
default;
101 SampleRobot(SampleRobot&&) =
default;
102 SampleRobot& operator=(SampleRobot&&) =
default;
105 bool m_robotMainOverridden =
true;
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
virtual void OperatorControl()
Operator control (tele-operated) code should go here.
class virtual WPI_DEPRECATED("WARNING: While it may look like a good choice to use for your code if ""you're inexperienced, don't. Unless you know what you are doing, complex ""code will be much more difficult under this system. Use TimedRobot or ""Command-Based instead.") SampleRobot void RobotInit()
Start a competition.
virtual void Test()
Test program should go here.
virtual void RobotMain()
Robot main program for free-form programs.
virtual void Disabled()
Disabled should go here.
virtual void Autonomous()
Autonomous should go here.