Package frc.robot.motors
Class MotorManager
java.lang.Object
frc.robot.motors.MotorManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddMotor(LoggedMotor motor) Adds a motor to the motor list.static voidreset()Resets the motor list to an empty list.static voidupdate()Updates all motors in the global list and logs information to Ascope.
-
Constructor Details
-
MotorManager
public MotorManager()
-
-
Method Details
-
update
public static void update()Updates all motors in the global list and logs information to Ascope. -
reset
public static void reset()Resets the motor list to an empty list. -
addMotor
Adds a motor to the motor list.- Parameters:
motor- the motor to add
-