View Single Post
  #7   Spotlight this post!  
Unread 30-01-2013, 12:23
jwiederspan jwiederspan is offline
Registered User
FRC #3663
 
Join Date: Oct 2012
Location: Washington
Posts: 5
jwiederspan is an unknown quantity at this point
Re: Command Based vs Simple Robot

We moved to Command-based this season, and it is a little more difficult for the new programmers to get used to but MUCH better for a team to work on and much more flexible than our old code.
1) Having subsystems (and commands) in separate files made it much easier to separate out the work. We agreed on the public interfaces and then each person could tweak and improve behind the scenes as needed;
2) The subsystems become somewhat modular, so you will probably find yourself each year picking and choosing from those used in previous years and they will be easier to incorporate;
3) It is much more flexible because your commands compete individually for resources instead of having the entire code base need to know what state things are currently in; and
4) It is better programming - since our goal is to get the kids excited about programming, telling them that they are using programming concepts that don't get introduced until the second year of computer science classes at most colleges usually gets them very excited.
Reply With Quote