Skip to content

Conversation

jvogt23
Copy link
Contributor

@jvogt23 jvogt23 commented Mar 24, 2025

Description

Describe your pull request.
Added formation that robots will enter for a kickoff. Two robots, currently 5 and 4, are sent to pre-determined locations on the map when a kickoff is initially called. They stay there until the game proceeds.

NOTE: This hard-coded formation and hard-coded robots will change when we add Coordinators, so the addition of a Formation type or a coordinator to set up formations should be added to the backlog.

Associated / Resolved Issue

Resolves # or ClickUp card

Design Documents

Link

Steps to Test

Test Case 1

  1. Step 1. Start up the stack.
  2. Step 2. Click the kickoff button for yellow.
  3. Step 3. Wait for all robots to be in position, then click the yellow or green check marks.

Expected result:
Robots 5 and 4 should be sent to positions on either side of the kicking robot, then move from those positions when the game properly starts.

Key Files to Review

Group 1

  • File 1. offense.cpp and hpp
  • File 2 robot_factory_position.cpp and hpp

Review Checklist

  • Docstrings: All methods and classes should have the file appropriate docstrings which follow the guidelines in the "Contributing" page of our docs.
  • Remove extra print statements: Any print statements used for debugging should be removed
  • Tag reviewers: Tag some people for review and ping them on Slack

(Optional) Sub-issues (for drafts)

Note: if you find yourself breaking this PR into many smaller features, it may make sense to break up the PR into logical units based on these features.

  • Step 1
  • Step 2

jvogt23 and others added 2 commits March 25, 2025 19:26
automated style fixes

Co-authored-by: jvogt23 <jvogt23@users.noreply.github.com>
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.

1 participant