-
Notifications
You must be signed in to change notification settings - Fork 122
Kickoff friendly play fsm cleaned #3518
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
base: master
Are you sure you want to change the base?
Kickoff friendly play fsm cleaned #3518
Conversation
…GPIO" are now updated to "Gpio".
Fixes that need to be made in future commits: - build errors across several validation testing files - unnecessary comments need to be erased
Bugs: - several validation files don't build
…o not enter a region. Incomplete process but committing prior to laptop dying.
…umberOfRobotsEventuallyEntersRegion() as required.
…/Thunderbots-Muk into kickoff_friendly_play_fsm_cleaned
…alidation is incorrectly passed both AlwaysValidation and EventuallyValidation
…s skipped tests as failed.
…since pytest.skip() causes CI to fail.
…alidation # Conflicts: # src/software/ai/hl/stp/play/enemy_free_kick/enemy_free_kick_play_test.py
…ff_friendly_play_fsm_cleaned
…/Thunderbots-Muk into kickoff_friendly_play_fsm_cleaned
…o use updated pytests.
…friendly_play_fsm_cleaned
| "//software/logger", | ||
| "//software/util/generic_factory", | ||
| ], | ||
| alwayslink = True, |
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.
Why does this need to be statically linked?
|
|
||
| void KickoffEnemyPlayFSM::createKickoffSetupPositions(const WorldPtr &world_ptr) | ||
| { | ||
| // these positions are picked according to the followicreateKickoffSetupPositions();ng slide |
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.
nit: typo
| for (size_t i = 0; i < shadower_count; i++) | ||
| { | ||
| // Assign the first 2 robots to shadow enemies, if the enemies exist | ||
| auto enemy_threat = enemy_threats.at(i); |
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.
nit: this results in a copy due to auto I think?
https://medium.com/@rogerbooth/c-gotcha-unnecessary-copies-due-to-the-misuse-of-auto-ed24e65b5efd
Might want to use explicit auto&
|
Okay I just saw the "Don't Review Tag" If there are ANY files to review for this PR please list them explicitly in the desc. Otherwise, if this is not yet ready for a review, please convert this to a draft PR. |
Description
DONT REVIEW IT
Convert kickoff-friendly-play to fsm, and convert kickoff-enemy-play to fsm, and add functionality to both.
DONT REVIEW THIS, was told to make PR to fix commit issues.
Testing Done
Need to write tests. Made this pull request to fix a lot of commit issues and compare with master.
Resolved Issues
3287 & 3296
Length Justification and Key Files to Review
stuff in kickoff_friendly and kickoff_enemy
Review Checklist
It is the reviewers responsibility to also make sure every item here has been covered
.hfile) should have a javadoc style comment at the start of them. For examples, see the functions defined inthunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.TODO(or similar) statements should either be completed or associated with a github issue