Class HardwareConfig

java.lang.Object
org.photonvision.common.configuration.HardwareConfig

public class HardwareConfig extends Object
  • Field Details

    • deviceName

      public final String deviceName
    • deviceLogoPath

      public final String deviceLogoPath
    • supportURL

      public final String supportURL
    • ledPins

      public final ArrayList<Integer> ledPins
    • ledSetCommand

      public final String ledSetCommand
    • ledsCanDim

      public final boolean ledsCanDim
    • ledBrightnessRange

      public final ArrayList<Integer> ledBrightnessRange
    • ledDimCommand

      public final String ledDimCommand
    • ledBlinkCommand

      public final String ledBlinkCommand
    • statusRGBPins

      public final ArrayList<Integer> statusRGBPins
    • cpuTempCommand

      public final String cpuTempCommand
    • cpuMemoryCommand

      public final String cpuMemoryCommand
    • cpuUtilCommand

      public final String cpuUtilCommand
    • cpuThrottleReasonCmd

      public final String cpuThrottleReasonCmd
    • cpuUptimeCommand

      public final String cpuUptimeCommand
    • gpuMemoryCommand

      public final String gpuMemoryCommand
    • ramUtilCommand

      public final String ramUtilCommand
    • gpuMemUsageCommand

      public final String gpuMemUsageCommand
    • diskUsageCommand

      public final String diskUsageCommand
    • restartHardwareCommand

      public final String restartHardwareCommand
    • vendorFOV

      public final double vendorFOV
    • blacklistedResIndices

      public final List<Integer> blacklistedResIndices
  • Constructor Details

  • Method Details

    • hasPresetFOV

      public final boolean hasPresetFOV()
      Returns:
      True if the FOV has been preset to a sane value, false otherwise
    • hasCommandsConfigured

      public final boolean hasCommandsConfigured()
      Returns:
      True if any command has been configured to a non-default empty, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object