-
Notifications
You must be signed in to change notification settings - Fork 185
Adding dynamic thresholding to pivot when kicking #2376
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
Conversation
automated style fixes Co-authored-by: rishiso <rishiso@users.noreply.github.com>
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
soccer/src/soccer/planning/planner/rotate_path_planner.hpp:50
- [nitpick] The variable name 'kIsDoneAngleChangeThresh' implies a constant value. Consider renaming it to something like 'isDoneAngleChangeThresh_' to indicate its dynamic nature.
double kIsDoneAngleChangeThresh{1.0};
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.
lgtm
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
soccer/src/soccer/planning/planner/rotate_path_planner.hpp:50
- [nitpick] Since the variable is mutable now, consider renaming it to remove the 'k' prefix to avoid suggesting it is a constant.
double kIsDoneAngleChangeThresh{1.0};
310407a
to
a50a317
Compare
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
soccer/src/soccer/planning/planner/rotate_path_planner.hpp:50
- [nitpick] The name 'isDoneAngleChangeThresh' might be misleading now that the value is dynamic; consider renaming it to 'dynamicAngleThreshold' for better clarity.
double isDoneAngleChangeThresh{1.0};
Description
Making angle rotation more precise when robot is shooting at further target
Associated / Resolved Issue
Related to ClickUp card
Steps to Test
Expected result: Should not miss (as much)