Skip to content

Put the linear calculator behind an interface for easier swapping.#175

Merged
shishghate merged 5 commits intomainfrom
feat/interface_shooter_calculator
Mar 26, 2026
Merged

Put the linear calculator behind an interface for easier swapping.#175
shishghate merged 5 commits intomainfrom
feat/interface_shooter_calculator

Conversation

@shishghate
Copy link
Copy Markdown
Contributor

I moved the shooter angle and speed calculation behind an interface and refactored it.

Please take a look and keep this in mind when implementing your solutions. We can change the signature of the call if needed.

@github-actions
Copy link
Copy Markdown

Code Coverage Report

There is no coverage information present for the Files changed

ishwaqo8120
ishwaqo8120 previously approved these changes Mar 26, 2026
Copy link
Copy Markdown
Contributor

@ishwaqo8120 ishwaqo8120 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will follow this 👍

this.launchVelocityRPS = launchVelocityRPS;
}

public double getInclineAngelDegrees() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Angle is spelled wrong.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just make this a record?

Copy link
Copy Markdown
Contributor

@henrymilbert henrymilbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@shishghate shishghate merged commit 1e6a08e into main Mar 26, 2026
2 checks passed
@shishghate shishghate deleted the feat/interface_shooter_calculator branch March 27, 2026 00:48
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.

6 participants