Open CS-5 opened 1 year ago
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 :+1:
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: