Class ControlInfo

java.lang.Object
com.ctre.phoenixpro.controls.ControlInfo

@Deprecated(forRemoval=true)
public class ControlInfo
extends Object
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.
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)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Classes in the phoenixpro package will be removed in 2024.
  • Method Summary

    Modifier and Type Method Description
    Map<String,​String> getNameValues()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the map of control parameter names to the corresponding applied value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ControlInfo

      @Deprecated(forRemoval=true) public ControlInfo​(String name)
      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.
      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 calling ControlRequest.getControlInfo().

      Parameters:
      name - Name of the control request
  • Method Details

    • getNameValues

      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the map of control parameter names to the corresponding applied value.
      Returns:
      Map of control parameter names and corresponding applied values