Skip to content

When RobotGamePieceState is NoGamePiece but bottom, middle or top button is pressed #96

Description

@ErikCald

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions