Class AutoFeedEnable
java.lang.Object
com.ctre.phoenix6.wpiutils.AutoFeedEnable
- All Implemented Interfaces:
AutoCloseable
Automatically feeds the non-FRC enable signal to devices
in simulation and hardware-attached simulation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static AutoFeedEnableGets the AutoFeedEnable instance.voidstart()Starts feeding the enable signal to CTRE actuators.voidstop()Stops feeding the enable signal to CTRE actuators.
-
Method Details
-
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:
closein interfaceAutoCloseable
-