Skip to content

Conversation

@Jetblackdragon
Copy link
Contributor

No description provided.

Copy link
Contributor

@markpete markpete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see if we can get rid of the redundant code and make this more maintainable.

markpete
markpete previously approved these changes Oct 24, 2025
Copy link
Contributor

@koolpoolo koolpoolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigma

koolpoolo
koolpoolo previously approved these changes Oct 25, 2025
jamesdooley4
jamesdooley4 previously approved these changes Oct 25, 2025
markpete
markpete previously approved these changes Nov 14, 2025
@markpete

This comment was marked as resolved.

gemini-code-assist[bot]

This comment was marked as spam.

@markpete
Copy link
Contributor

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a significant refactoring of the auto-alignment and scoring logic, notably by adding AllianceUtils, ScoringType, and AlignType to improve code structure and reduce duplication. The Shuffleboard layout in elastic-layout.json has also been completely reorganized. My review focuses on improving performance by avoiding repeated object creation in AutoAlign, enhancing maintainability by removing magic numbers, and fixing a potential regression in the controller rumble feedback for scoring alignment. I also suggest a small improvement to the new AllianceUtils class to follow best practices.

@Jetblackdragon
Copy link
Contributor Author

#197 #198

@Jetblackdragon Jetblackdragon merged commit 726128b into main Dec 20, 2025
2 checks passed
@Jetblackdragon Jetblackdragon deleted the GGCOMPB branch December 20, 2025 00:39
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.

7 participants