Interface LEDIO

All Known Implementing Classes:
LEDIOAddressable, LEDIOCANdle

public interface LEDIO
Hardware abstraction interface for robot LED feedback systems.

Implementations may target WS2812B addressable strips (LEDIOAddressable) or CTRE CANdle controllers. The LEDManager calls these methods each loop to reflect the robot's current state (default, load shedding, or critical fault).

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The discrete visual states an LED strip can render.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the LED strip to a critical fault flash pattern (e.g., flashing red).
    void
    Sets the LED strip to its default idle color pattern (e.g., solid team color).
    void
    Sets the LED strip to a warning pattern indicating active power load shedding.
    void
    Pushes the current color buffer to the physical LED hardware.
  • Method Details

    • setDefaultColors

      void setDefaultColors()
      Sets the LED strip to its default idle color pattern (e.g., solid team color).
    • setLoadSheddingColors

      void setLoadSheddingColors()
      Sets the LED strip to a warning pattern indicating active power load shedding.
    • setCriticalFaultFlash

      void setCriticalFaultFlash()
      Sets the LED strip to a critical fault flash pattern (e.g., flashing red).
    • update

      void update()
      Pushes the current color buffer to the physical LED hardware.