97 units::second_t controllerPeriod);
113 void Schedule(std::function<
void()> func, units::second_t allocation);
116 units::second_t m_nextOffset;
117 units::second_t m_controllerPeriod;
TimedRobot implements the IterativeRobotBase robot program framework.
Definition: TimedRobot.h:30
TimesliceRobot extends the TimedRobot robot program framework to provide timeslice scheduling of peri...
Definition: TimesliceRobot.h:85
TimesliceRobot(units::second_t robotPeriodicAllocation, units::second_t controllerPeriod)
Constructor for TimesliceRobot.
void Schedule(std::function< void()> func, units::second_t allocation)
Schedule a periodic function with the constructor's controller period and the given allocation.
Definition: AprilTagFieldLayout.h:22