Class Sleeper


  • public class Sleeper
    extends AutoProgram
    A default AutoProgram that does nothing an never completes. This is used in AutoManager as a final program (program 0) which does nothing but keeps a program running when all programs complete.
    • Constructor Detail

      • Sleeper

        public Sleeper()
    • Method Detail

      • defineSteps

        public void defineSteps()
        Defines an AutoProgram's steps, executed in order added. Sleeper uses only a single step: AutoStepStopAutonomous, which does nothing and never finishes.
        Specified by:
        defineSteps in class AutoProgram
      • toString

        public java.lang.String toString()
        Returns the AutoProgram's name.
        Specified by:
        toString in class AutoProgram
        Returns:
        The name of the AutoProgram.