7 #ifndef ROBOT_ITERATIVE_H_
8 #define ROBOT_ITERATIVE_H_
11 #include "RobotBase.h"
48 static constexpr
double kDefaultPeriod = 0.0;
72 bool NextPeriodReady();
74 bool m_disabledInitialized;
75 bool m_autonomousInitialized;
76 bool m_teleopInitialized;
77 bool m_testInitialized;
79 Timer m_mainLoopTimer;
virtual void RobotInit()
Definition: IterativeRobot.cpp:222
Definition: IterativeRobot.h:41
virtual void DisabledInit()
Definition: IterativeRobot.cpp:233
void SetPeriod(double period)
Definition: IterativeRobot.cpp:46
virtual void TeleopPeriodic()
Definition: IterativeRobot.cpp:311
virtual void TestInit()
Definition: IterativeRobot.cpp:266
virtual void StartCompetition()
Definition: IterativeRobot.cpp:93
double GetPeriod()
Definition: IterativeRobot.cpp:67
virtual void TeleopInit()
Definition: IterativeRobot.cpp:255
Definition: RobotBase.h:37
virtual void AutonomousInit()
Definition: IterativeRobot.cpp:244
virtual void AutonomousPeriodic()
Definition: IterativeRobot.cpp:294
IterativeRobot()
Definition: IterativeRobot.cpp:24
virtual void DisabledPeriodic()
Definition: IterativeRobot.cpp:277
double GetLoopsPerSec()
Definition: IterativeRobot.cpp:76
virtual ~IterativeRobot()
Definition: IterativeRobot.cpp:37
virtual void TestPeriodic()
Definition: IterativeRobot.cpp:328