Thread: RobotMap?
View Single Post
  #3   Spotlight this post!  
Unread 17-01-2016, 22:22
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,556
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: RobotMap?

Quote:
Originally Posted by SamCarlberg View Post
If you use RobotBuilder, you'll need to use RobotMap. If you don't use RobotBuilder, don't do it. It breaks encapsulation, which generally is a bad thing.
I wouldn't do RobotMap the way that RobotBuilder does it (declaring all objects in one file). However, it is very useful having constants for all ports you use defined in one place. Then you can reference those ports when you construct the objects in the subsystems.
Reply With Quote