-
Notifications
You must be signed in to change notification settings - Fork 9
Girls gen updates #189
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
Girls gen updates #189
Conversation
markpete
left a comment
There was a problem hiding this 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.
koolpoolo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sigma
This comment was marked as resolved.
This comment was marked as resolved.
|
/gemini review |
There was a problem hiding this 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.
d5a696b
avoids calling isConnected 3 different times.
No description provided.