diff --git a/src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java b/src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java index 81e83e5..048a577 100644 --- a/src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java +++ b/src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java @@ -184,7 +184,13 @@ public static MotorControllerType getControllerType(SparkBase motor){ } return null; } - + + /** + * Creates a motor config object for the given motor type. + * + * @param motorConfig the config for the specific type of motor (ex: MotorConfig.NEO, MotorConfig.NEO_VORTEX, etc) + * + */ public static SparkBaseConfig sparkConfig(MotorConfig motorConfig){ SparkBaseConfig config = motorConfig.controllerType.createConfig(); //configs that apply to all motors