Skip to content

feat: ✨Fancy Leds - #2

Draft
meisZWFLZ wants to merge 21 commits into
mainfrom
feat/leds
Draft

feat: ✨Fancy Leds#2
meisZWFLZ wants to merge 21 commits into
mainfrom
feat/leds

Conversation

@meisZWFLZ

@meisZWFLZ meisZWFLZ commented Aug 27, 2024

Copy link
Copy Markdown
Contributor

LEDs should be able to provide useful driver feedback, improve auton debugging, and auton selection.
They're not there for the sole purpose of fancy. :(

Goals:

  • Over current protection - If would overcurrent, reduce all each strip's brightness so that overcurrent is prevented.
    • Coded
    • Hardware tested
  • Provide a mechanism for displaying to the LED strips
    • Must be extensible
    • Must be capable of being extended to:
      • Highlight disconnected motors/devices
      • Display selected alliance during auton selection
      • Display filtered ring color and destination
        • pulsing of some sort
      • Display alerts
        • For autonomous alerts
        • Perhaps use lemlib logger sink?
      • Drivetrain status (probably wont use)
        • Motor Temp
        • Motor Current
    • Coded
    • Hardware tested

prevents led strips from drawing too much current on a per expander basis, by reducing the brightness of the leds
this is useful if accessing the raw buffer
why do i do this to myself
make_shared doesn't work as it usually would since LedStrip's constructor is protected
@meisZWFLZ meisZWFLZ added enhancement New feature or request needs hardware testing Requires hardware testing before merging labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request needs hardware testing Requires hardware testing before merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants