Package com.ctre.phoenixpro.controls
Class ControlInfo
java.lang.Object
com.ctre.phoenixpro.controls.ControlInfo
public class ControlInfo extends Object
Information about a control request.
This type contains a map that maps control parameter names to the corresponding applied value. Users can iterate through the map to look at the applied control parameters of the control request.
-
Constructor Summary
Constructors Constructor Description ControlInfo(String name)
Constructs a new ControlInfo object for the control request of the given name. -
Method Summary
Modifier and Type Method Description Map<String,String>
getNameValues()
Gets the map of control parameter names to the corresponding applied value.
-
Constructor Details
-
ControlInfo
Constructs a new ControlInfo object for the control request of the given name.This is constructed by the
ControlRequest
class and can be accessed by callingControlRequest.getControlInfo()
.- Parameters:
name
- Name of the control request
-
-
Method Details
-
getNameValues
Gets the map of control parameter names to the corresponding applied value.- Returns:
- Map of control parameter names and corresponding applied values
-