Class AutoFeedEnable

java.lang.Object
com.ctre.phoenix6.wpiutils.AutoFeedEnable
All Implemented Interfaces:
AutoCloseable

public final class AutoFeedEnable extends Object implements AutoCloseable
Automatically feeds the non-FRC enable signal to devices in simulation and hardware-attached simulation.
  • Method Details

    • getInstance

      public static AutoFeedEnable getInstance()
      Gets the AutoFeedEnable instance.
      Returns:
      AutoFeedEnable instance
    • start

      public void start()
      Starts feeding the enable signal to CTRE actuators.
    • stop

      public void stop()
      Stops feeding the enable signal to CTRE actuators. The enable signal will only be stopped when all actuators have requested to stop the enable signal.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable