-
Notifications
You must be signed in to change notification settings - Fork 3
Componentization of the Launcher #116
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
base: main
Are you sure you want to change the base?
Conversation
…to Mouse and see if I can just use it
| // now | ||
| public static double MotorResistance = 9.2 / 12; | ||
|
|
||
| // TODO: Make this more configurable. Maybe just turn it into a little helper function that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This "REGRESSION_*" stuff should be changed to be a function in the Config class, instead of all these constants.
| return Command.create(self::setRegressionTeleop); | ||
| } | ||
|
|
||
| public static Command IncreaseRegressionDTeleop() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ones feels like a hack for something misbehaving. Let's see if we can fix the misbehavior.
kevinfrei
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to move the validator opmode into the component.
|
|
||
| @Configurable | ||
| @SuppressWarnings("unused") | ||
| @TeleOp(name = "Launcher Cfg") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure would be cool if this were available as part of the component (I should try it)
Take a look at my changes; Please provide feedback!