FRC2706 / FRC2706/2023-2706-Robot-Code
When RobotGamePieceState is NoGamePiece but bottom, middle or top button is pressed
- Dominant language
- Java
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Currently when the RobotGamePieceState == NoGamePiece, and the bottom, middle or top button is pressed, the arm will go the pickup location.
I'm starting to think this is a bad idea. Whenever the X button is pressed, it will go to the pickup location as long as we are not holding any gamepiece and it will rumble once it get's to the pickup location.
None of this functionality happens if you go to the pickup location using one of the other buttons.
Also, if you click X, then click A, then click X, each press will be a new ArmCommand which will try to go back the first waypoint.
If you just click X over and over again, it will only try to go the first waypoint once.
So I think the ArmSelectorCommand should do nothing if RobotGamePieceState == NoGamePiece instead of going to the pickup location. m_ArmCommand should be set to an InstantCommand to avoid problems.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.