Class LoggedPowerDistribution

java.lang.Object
org.littletonrobotics.junction.LoggedPowerDistribution

public class LoggedPowerDistribution extends Object
Manages logging power distribution data.
  • Method Details

    • getInstance

      public static LoggedPowerDistribution getInstance()
      Returns the singleton instance of the power distribution logger, configuring it for the default module type and ID.
      Returns:
      The singleton LoggedPowerDistribution instance.
    • getInstance

      public static LoggedPowerDistribution getInstance(int moduleID, PowerDistribution.ModuleType moduleType)
      Returns the singleton instance of the power distribution logger, configuring it for the specified module type and ID.
      Parameters:
      moduleID - The CAN ID of the power distribution module.
      moduleType - The type of the power distribution module.
      Returns:
      The singleton LoggedPowerDistribution instance.