Package frc.robot.motors
Class MotorManager
java.lang.Object
frc.robot.motors.MotorManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addMotor
(LoggedMotor motor) Adds a motor to the motor list.static void
reset()
Resets the motor list to an empty list.static void
update()
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
-