Interface Controller

  • All Known Implementing Classes:
    PIDController

    @Deprecated(since="2020",
                forRemoval=true)
    public interface Controller
    Deprecated, for removal: This API element is subject to removal in a future version.
    None of the 2020 FRC controllers use this.
    An interface for controllers. Controllers run control loops, the most command are PID controllers and there variants, but this includes anything that is controlling an actuator in a separate thread.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void disable()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Stops the control loop from running until explicitly re-enabled by calling enable().
      void enable()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allows the control loop to run.
    • Method Detail

      • enable

        void enable()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Allows the control loop to run.
      • disable

        void disable()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Stops the control loop from running until explicitly re-enabled by calling enable().