Package frc.robot

Class MotorMonitor

java.lang.Object
frc.robot.MotorMonitor

public class MotorMonitor extends Object
Util class that handles periodically iterating over all of the motors on the robot and notifying on the dashboard if one goes over a temperature threshold.
  • Constructor Details

    • MotorMonitor

      public MotorMonitor()
  • Method Details

    • addMotor

      public static void addMotor(HasTalonSignals motor)
      Adds a motor to the motor monitor.
      Parameters:
      motor - The motor to add.
    • update

      public static void update()
      Iterates over all the motors and alerts if they're over their temperature threshold.