Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LEDs for feedback #41

Open
BrightLaw9 opened this issue Apr 28, 2023 · 3 comments · May be fixed by #53
Open

LEDs for feedback #41

BrightLaw9 opened this issue Apr 28, 2023 · 3 comments · May be fixed by #53
Assignees

Comments

@BrightLaw9
Copy link
Contributor

BrightLaw9 commented Apr 28, 2023

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:

  • Game object pick up
  • Certain robot errors (limelight not connected, CAN / motor controller fault, etc… ) – flash red
  • Display for auto selected (and / or alliance color)
  • Vision based checks for if robot is setup correctly in auto (especially if the game needs you not to be pressed up against something)
  • Battery not changed (voltage low)

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 blazecoding2009 self-assigned this Apr 28, 2023
@blazecoding2009
Copy link
Contributor

@blazecoding2009
Copy link
Contributor

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

@blazecoding2009
Copy link
Contributor

LEDs now actually go blink thanks micheal \o/

@blazecoding2009 blazecoding2009 linked a pull request Jul 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants