Skip to content

AddressableLED Test Plan

RobotLeopard86 edited this page Mar 13, 2025 · 4 revisions

AddressableLED Subsystem Test Plan

  1. Checkout latest code from addressable-led branch or main if it's been merged
  2. Check Constants.java to make sure that the MASTER_LED_DISABLE flag is not set to true
  3. Check AddressableLEDConstants.java to ensure that all values seem reasonable
    1. Check LED_STRIP_PORT to make sure that the strip is actually plugged into that port on the roboRIO
    2. Check LED_COUNT and COUNT ALL THE LEDS on the strip to make sure that you have the right number
    3. Check SECTIONS to make sure that there are no out-of-range values
    4. Check the sections manually on the robot to make sure that the specified sections are in the intended places on the robot
  4. Add a binding to RobotContainer.java to run the AddressableLEDTest command
  5. Build and deploy code to bot
  6. Connect to robot on Driver Station and attach controller
  7. Press binding that you configured earlier to run AddressableLEDTest
  8. Each configured section should run a scrolling rainbow pattern for 10 seconds
  9. The entire strip should turn lime green and fade on and off for 10 seconds
  10. The entire strip should turn off
  11. IF NOT ALL OF STEPS 8-10 RUN OR DO WHAT THEY SHOULD, THERE IS A PROBLEM!!!
Clone this wiki locally