|
Re: What is the purpose of RobotMap.java in CommandBased?
It centralizes the allocation of ports in one location, so that you don't need to look everywhere in your code to figure out whether a port is allocated.
In OO-speak, it hides the concern of port mapping in one location in your code, so that the subsystems don't have to know how you have things wired up.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament
2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
|