Package me.nabdev.oxconfig
Interface ConfigurableClass
- All Known Implementing Classes:
ConfigurableLinearInterpolation
,ConfigurablePhoenixMotorPIDController
,ConfigurablePIDController
,ConfigurableProfiledPIDController
,ConfigurableSparkClosedLoop
public interface ConfigurableClass
Interface for classes that can be automatically configured by OxConfig
Classes that implement this should have multiple configurable parameters
and should use the ConfigurableClassParam class to store them. If you only
need one configurable parameter, use the ConfigurableParameter class instead.
-
Method Details
-
getParameters
List<ConfigurableClassParam<?>> getParameters()Gets the parameters of the configurable class- Returns:
- The parameters of the configurable class
-
getKey
String getKey()Gets the key of the configurable class (e.g. "Arm"), must not include commas- Returns:
- The key of the configurable class
-
getPrettyName
Gets the pretty name of the configurable class (e.g. "Arm")- Returns:
- The pretty name of the configurable class
-