|
Re: What is the purpose of RobotMap.java in CommandBased?
I feel like pulling the port numbers out makes a bit more sense than instantiating the actuators etc. in RobotMap.
Either way, you are breaking the separation of concerns and making it harder to transfer the subsystem to a different codebase.
__________________
Blake
Electrical, Programming and Design
Creator FRC Q&A 2017
Mass FRC Team 4909: The Bionics
Maine FRC Team 5122: The RobOTies (2014-2015)
Maine FRC Team 2648: Infinite Loop (2008-2011)
|