|
Re: paper: Cheesy Poofs Robot Software 2010
Thanks for sharing! I love looking at other teams' code to learn new tricks.
Out of curiosity, what led to the decision to use a separate singleton class to hold all the sensors, actuators and logic instead of putting them in the class that inherits from IterativeRobot?
I really like the constants class and how you can read and save constants from/to a file. I'd definitely like for my team to adopt this, although I'm thinking of using preprocessor macros to ensure existence of constants at compile-time and avoid the (albeit negligible) performance cost of associative array lookups.
The auton command lists are really cool, too.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)
patfairbank.com
|