Skip to content

Conversation

@Jeff-Stammler
Copy link
Collaborator

Changed to only enable the CLIMB button at start of teleop, IF we are in the alliance zone. Otherwise, disable it. (but allow it to be clicked if robot goes into the alliance zone.

Only process the zone ontouch listeners if the action is DOWN. (it was processing it on UP as well - no need to run the code twice).

In the neutral zone, check if the robots EDGE touches the alliance zone (check differs if alliance zone is on the left, or the right). If so, mark it as "in the alliance zone" so the shoot/climb buttons light up.

@Jeff-Stammler Jeff-Stammler linked an issue Jan 30, 2026 that may be closed by this pull request
Fixes #530
so robot starting location avoids the hub.
@Jeff-Stammler Jeff-Stammler linked an issue Jan 30, 2026 that may be closed by this pull request
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 this pull request may close these issues.

Neutral Zone edge case restrict where a robot can be placed on the snap line

2 participants