|
Re: Which Base Class Are You Using?
Regarding SampleRobot, we specifically renamed SimpleRobot to SampleRobot and put disclaimers in about it because many teams saw the word "Simple" and went with that template. However, there's a lot more to embedded programming than just running in a tight loop as most people do with SimpleRobot, and the number of issues CSAs saw at competitions because of this was very high.
I personally am a fan of the CommandBased model. It takes care of synchronization between commands, sequencing of commands, cancelling commands based on the requires() blocks, and such. There are certainly use cases for Iterative, but for the vast majority of teams, CommandBased should help eliminate a lot of issues that we see both as library maintainers and CSAs.
|