Quote:
Originally Posted by Techwiz
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.
|
By RobotBuilder doing it the way it does it is actually breaking the principle of Encapsulation by giving other objects access to the devices of another subsystem.