-
Notifications
You must be signed in to change notification settings - Fork 0
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
Determine command pattern #8
Comments
Another thing which relates to this is abstracting the controls a bit so we could change them easily, and figuring out when to use the Trigger class or have conditional stuff. |
Agreed, great point! I would lean towards having all controller button/axis mappings in RobotContainer, but there are other ways to accomplish the same thing too. |
@CS-5 So I've spent some time thinking, and I think this is reasonable:
|
Great ideas, I agree on all points 👍 On your last point, I think there may be cases in very complex robots where splitting code into multiple separate commands might make sense, but I don't believe we're there yet. We will want to see how autonomous changes things (if at all), but I say lets move forward with the above. Nice work! |
Autonomous will definitely change things, since in autonomous we'll likely have to use multiple subsystems in sync, and a single command is the easiest way of doing that. |
Need to figure out what makes sense for a general pattern to follow when creating commands:
The text was updated successfully, but these errors were encountered: