Package com.ctre.phoenixpro.unmanaged
Class Unmanaged
java.lang.Object
com.ctre.phoenix6.jni.CtreJniWrapper
com.ctre.phoenixpro.unmanaged.Unmanaged
@Deprecated(forRemoval=true) public class Unmanaged extends CtreJniWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
Classes in the phoenixpro package will be removed in 2024.
Users should instead use classes from the phoenix6 package.
Handles enabling when used in a non-FRC manner
-
Constructor Summary
Constructors Constructor Description Unmanaged()
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and Type Method Description static void
feedEnable(int timeoutMs)
Deprecated, for removal: This API element is subject to removal in a future version.Feed the robot enable.static boolean
getEnableState()
Deprecated, for removal: This API element is subject to removal in a future version.static int
getPhoenixVersion()
Deprecated, for removal: This API element is subject to removal in a future version.static void
loadPhoenix()
Deprecated, for removal: This API element is subject to removal in a future version.Calling this function will load and start the Phoenix background tasks.static void
setPhoenixDiagnosticsStartTime(double startTimeSeconds)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the duration of the delay before starting the Phoenix diagnostics server.
-
Constructor Details
-
Method Details
-
feedEnable
Deprecated, for removal: This API element is subject to removal in a future version.Feed the robot enable. This function does nothing on a roborio during FRC use.If running an application in simulation, creating a WPI_* object automatically enables actuators. Otherwise, call this to enable actuators.
- Parameters:
timeoutMs
- Timeout before disabling
-
getEnableState
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- true if non-FRC enabled
-
getPhoenixVersion
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Phoenix version
-
loadPhoenix
Deprecated, for removal: This API element is subject to removal in a future version.Calling this function will load and start the Phoenix background tasks. This can be useful if you need the Enable/Disable functionality for CAN devices but aren't using any of the CAN device classes. This function does NOT need to be called if you are using any of the Phoenix CAN device classes. -
setPhoenixDiagnosticsStartTime
Deprecated, for removal: This API element is subject to removal in a future version.Sets the duration of the delay before starting the Phoenix diagnostics server.- Parameters:
startTimeSeconds
- Magnitude of the delay (in seconds) before starting the server. A value of 0 will start the server immediately. A negative value will signal the server to shutdown or never start.
-