Skip to content

Shooter Subsystem Rework: Add Flywheel Subsystem - #116

Open
CanineSatsuma6 wants to merge 3 commits into
shooter-rework-rotorfrom
shooter-rework-flywheel
Open

CanineSatsuma6 wants to merge 3 commits into
shooter-rework-rotorfrom
shooter-rework-flywheel

Conversation

@CanineSatsuma6

Copy link
Copy Markdown
Contributor

Note: This PR is one of several in a series of PRs designed to rework our shooter subsystem to address issues with maintainability and readability and reintroduce some semblance of simplicity. Any PR that's merging into the shooter-subsystem-rework branch and NOT main is a part of this series.

Background

This PR adds in the "Flywheel" component of the larger shooter subsystem. It follows the same pattern for code structure outlined in the Background section of PR #114. For information on the overall design principles, see that section.

Code Structure

The overall design for the flywheel code looks something very similar to the rotor code, like this:

erDiagram
    Flywheel ||--|| FlywheelIO : "uses"
    FlywheelIO ||--|| FlywheelIOReal : "is (real robot)"
    FlywheelIO ||--|| FlywheelIOSim : "is (simulated robot)"
    Flywheel ||--|| FlywheelIOInputs : "uses"
    FlywheelIOInputs ||--|| FlywheelIOReal : "provides"
    FlywheelIOInputs ||--|| FlywheelIOSim : "provides"
Loading

Flywheel Behavior

The overall method used to interact with the flywheel isn't changing. We still specify a target angular velocity and the flywheel follows it.

Much like the rotor, the flywheel PID controller for velocity control will need some further tuning.

@CanineSatsuma6
CanineSatsuma6 added this pull request to stack #115 October 9, 2026 05:13
@CanineSatsuma6 CanineSatsuma6 changed the title Shooter rework flywheel Shooter Subsystem Rework: Add Flywheel Subsystem Oct 9, 2026
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