Package com.ctre.phoenix6.configs
Class CustomParamsConfigs
java.lang.Object
com.ctre.phoenix6.configs.CustomParamsConfigs
- All Implemented Interfaces:
ParentConfiguration,ISerializable
public class CustomParamsConfigs extends Object implements ParentConfiguration
Custom Params.
Custom paramaters that have no real impact on controller.
-
Field Summary
Fields Modifier and Type Field Description intCustomParam0Custom parameter 0.intCustomParam1Custom parameter 1. -
Constructor Summary
Constructors Constructor Description CustomParamsConfigs() -
Method Summary
Modifier and Type Method Description StatusCodedeserialize(String to_deserialize)Stringserialize()StringtoString()CustomParamsConfigswithCustomParam0(int newCustomParam0)Modifies this configuration's CustomParam0 parameter and returns itself for method-chaining and easier to use config API.CustomParamsConfigswithCustomParam1(int newCustomParam1)Modifies this configuration's CustomParam1 parameter and returns itself for method-chaining and easier to use config API.
-
Field Details
-
CustomParam0
Custom parameter 0. This is provided to allow end-applications to store persistent information in the device.- Minimum Value: -32768
- Maximum Value: 32767
- Default Value: 0
- Units:
-
CustomParam1
Custom parameter 1. This is provided to allow end-applications to store persistent information in the device.- Minimum Value: -32768
- Maximum Value: 32767
- Default Value: 0
- Units:
-
-
Constructor Details
-
CustomParamsConfigs
public CustomParamsConfigs()
-
-
Method Details
-
withCustomParam0
Modifies this configuration's CustomParam0 parameter and returns itself for method-chaining and easier to use config API.Custom parameter 0. This is provided to allow end-applications to store persistent information in the device.
- Minimum Value: -32768
- Maximum Value: 32767
- Default Value: 0
- Units:
- Parameters:
newCustomParam0- Parameter to modify- Returns:
- Itself
-
withCustomParam1
Modifies this configuration's CustomParam1 parameter and returns itself for method-chaining and easier to use config API.Custom parameter 1. This is provided to allow end-applications to store persistent information in the device.
- Minimum Value: -32768
- Maximum Value: 32767
- Default Value: 0
- Units:
- Parameters:
newCustomParam1- Parameter to modify- Returns:
- Itself
-
toString
-
deserialize
- Specified by:
deserializein interfaceParentConfiguration
-
serialize
- Specified by:
serializein interfaceISerializable
-