FRC1360 / ChargedUp2023

Other
1 stars 1 forks source link

LEDs for feedback #41

Open BrightLaw9 opened 1 year ago

BrightLaw9 commented 1 year ago

Is your feature request related to a problem? Please describe. Every time we have to manually check the shoulder, wrist, arm readings to make sure they are reading the proper values before starting robot operations. It would be useful to have some sort of LED feedback to indicate if anything on the robot is wrong. Also, the human player sometimes has diffculty known if a cone / cube is needed (LEDs can be used to show).

Describe the solution you'd like Include LEDs signals for:

Investigate how you can individually address them through AddressableLEDs (see WPILib docs). This will allow, for example, how we can differentiate between a incorrect reading vs. limelight not connected.

Describe alternatives you've considered Own interface for ease in value display (instead of ShuffleBoard)

Additional context

blazecoding2009 commented 1 year ago

LED codes and such at: https://www.revrobotics.com/content/docs/REV-11-1105-UM.pdf

blazecoding2009 commented 1 year ago

I've written the code for Error, Game Pieces, and alliances so far.

blazecoding2009 commented 1 year ago

LEDs now actually go blink thanks micheal \o/