Class TimedRobot

  • All Implemented Interfaces:
    AutoCloseable

    public class TimedRobot
    extends IterativeRobotBase
    TimedRobot implements the IterativeRobotBase robot program framework.

    The TimedRobot class is intended to be subclassed by a user creating a robot program.

    periodic() functions from the base class are called on an interval by a Notifier instance.

    • Constructor Detail

      • TimedRobot

        protected TimedRobot()
        Constructor for TimedRobot.
      • TimedRobot

        protected TimedRobot​(double period)
        Constructor for TimedRobot.
        Parameters:
        period - Period in seconds.
    • Method Detail

      • finalize

        protected void finalize()
        Overrides:
        finalize in class Object
      • getPeriod

        public double getPeriod()
        Get time period between calls to Periodic() functions.