Skip to content
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

Minor changes within the Launcher branch (but to Drivetrain, primarily) #5

Open
wants to merge 2 commits into
base: Launcher
Choose a base branch
from

Conversation

agideon
Copy link

@agideon agideon commented Jan 12, 2020

I was going to do more in this PR, but I hit numerous "little issues". For example, I wanted to pull the LauncherState classes into a separate package, but was balked by the fact that these use package-private types in frc.robot.core.components.ControlSystem.

I could have "fixed" that, of course, but that involves some nontrivial choices that I didn't want to make for you (nor, do I believe, should I be doing so).

So I create some issues instead. Please feel free to ask any questions about those.

Meanwhile, I'll share this minor evolution of the Component and Drivetrain entities. This is probably less about Drivetrain (though it should make maintaining and enhancing it easier) and more about other classes that will implement Component in the future (ie. Launcher - see #3 ).

Andrew Gideon added 2 commits January 12, 2020 16:16
implementing these be invoked for every one of the key methods
of TimedRobot, even if there is nothing to be one for that method
for the specific component.
actually do anything.  This makes it easier if, later, they do need
to do something.  That means changing one class (the Drivetrain) and
not two (ie. Robot need not be changed).
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