Skip to content

Conversation

@Muxite
Copy link
Contributor

@Muxite Muxite commented Nov 1, 2025

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

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

PhilD71 and others added 30 commits June 2, 2022 19:14
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.
suchirss and others added 23 commits September 9, 2025 21:16
…umberOfRobotsEventuallyEntersRegion() as required.
…/Thunderbots-Muk into kickoff_friendly_play_fsm_cleaned
…alidation is incorrectly passed both AlwaysValidation and EventuallyValidation
…alidation

# Conflicts:
#	src/software/ai/hl/stp/play/enemy_free_kick/enemy_free_kick_play_test.py
…/Thunderbots-Muk into kickoff_friendly_play_fsm_cleaned
"//software/logger",
"//software/util/generic_factory",
],
alwayslink = True,
Copy link
Contributor

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
Copy link
Contributor

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);
Copy link
Contributor

@Andrewyx Andrewyx Nov 15, 2025

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&

@Andrewyx
Copy link
Contributor

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.

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.

4 participants