-
Notifications
You must be signed in to change notification settings - Fork 613
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
[documentation] Remove RobotContainer from templates #7055
base: main
Are you sure you want to change the base?
Conversation
/format |
2a1b85a
to
71fad19
Compare
/format |
We need to discuss whether removal of RobotContainer makes sense, especially that we're on the cusp of starting development on adding FTC support for 2027. FTC has something similar to RobotContainer in their current templates; I believe this because they need to keep hardware instantiated through all opmodes (which each look like variants of Robot.java). I don't want to remove it just to add it back in. So I believe we should wait on this and plan on having conversations regarding what we want the template approach to be across programs and style variations before diving into implementation changes. |
The current reason that I among others were interested in removing RobotContainer is because it doesn't add anything. You can achieve a completely functionally identical system by just instantiating things within Robot. I don't understand how FTC would change that for us; if you instantiate things in the constructor (or statically if you so desire) then you have the ability to keep them around for the lifetime of the class, RobotContainer doesn't add anything. |
https://discord.com/channels/176186766946992128/368993897495527424/1282509678647181335 It doesn't appear to me based off this conversation that this change will be affected by FTC at all |
7c0f392
to
82ff3ca
Compare
/format |
c36cb29
to
fbdb270
Compare
fbdb270
to
6def72b
Compare
Removing from templates is waiting on #7054