TimedCommandRobot
- class commands2.TimedCommandRobot(*args, **kwargs)[source]
Bases:
TimedRobotOverloaded function.
__init__(self: wpilib._wpilib.TimedRobot, period: wpimath.units.seconds = 0.02) -> None
Constructor for TimedRobot.
- Parameters:
period – The period of the robot loop function.
__init__(self: wpilib._wpilib.TimedRobot, frequency: wpimath.units.hertz) -> None
Constructor for TimedRobot.
- Parameters:
frequency – The frequency of the robot loop function.
- SCHEDULER_OFFSET = 0.005