Package com.ctre.phoenix6.controls
Class EmptyControl
java.lang.Object
com.ctre.phoenix6.controls.ControlRequest
com.ctre.phoenix6.controls.EmptyControl
- All Implemented Interfaces:
Cloneable
public class EmptyControl extends ControlRequest implements Cloneable
Generic Empty Control class used to do nothing.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EmptyControl()
Constructs an empty control request. -
Method Summary
Modifier and Type Method Description EmptyControl
clone()
Map<String,String>
getControlInfo()
Gets information about this control request.StatusCode
sendRequest(String network, int deviceHash, boolean cancelOtherRequests)
String
toString()
-
Constructor Details
-
EmptyControl
public EmptyControl()Constructs an empty control request.
-
-
Method Details
-
toString
-
sendRequest
- Specified by:
sendRequest
in classControlRequest
-
getControlInfo
Gets information about this control request.- Specified by:
getControlInfo
in classControlRequest
- Returns:
- Map of control parameter names and corresponding applied values
-
clone
-