10#include "wpi/units/time.hpp"
96 wpi::units::second_t controllerPeriod);
112 void Schedule(std::function<
void()> func, wpi::units::second_t allocation);
115 wpi::units::second_t m_nextOffset;
116 wpi::units::second_t m_controllerPeriod;
TimedRobot(wpi::units::second_t period=kDefaultPeriod)
Constructor for TimedRobot.
TimesliceRobot(wpi::units::second_t robotPeriodicAllocation, wpi::units::second_t controllerPeriod)
Constructor for TimesliceRobot.
void Schedule(std::function< void()> func, wpi::units::second_t allocation)
Schedule a periodic function with the constructor's controller period and the given allocation.
Definition CvSource.hpp:15