|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
paper: Cheesy Poofs Robot Software 2010
Thread created automatically to discuss a document in CD-Media.
Cheesy Poofs Robot Software 2010 by Tom Bottiglieri |
|
#2
|
||||
|
||||
|
Re: paper: Cheesy Poofs Robot Software 2010
*Beleted*
Last edited by kiettyyyy : 06-07-2010 at 02:50. Reason: Too early on that post. Again. |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
Re: paper: Cheesy Poofs Robot Software 2010
Quote:
Sorry it took so long to get back to you. The robot stuff was put in a separate class to split it up from the competition logic. I like the idea of the robot being it's own thing, with something else twisting the knobs and switches. (The Robot actually needs to get poked with a handle() function to update all of the control logic.. I probably should have spawned a thread to do this rather than having it driven by the IterativeRobot callbacks, but oh well) The persistent constants were super helpful. We were able to modify the file it lived in via FTP and update stuff on the fly. Crazy useful while testing/tuning. I'd love to see something like get baked into WPILib. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drivetrain question (Cheesy Poofs) | dfukuba | Technical Discussion | 8 | 11-12-2006 03:45 |
| Cheesy Poofs Chairman's Video | Joe Matt | Chairman's Award | 17 | 02-05-2005 21:59 |
| To Team #254 The Cheesy Poofs | Tonay K | Regional Competitions | 5 | 14-03-2003 17:18 |
| Cheesy Poofs thank everyone | archiver | 2001 | 0 | 24-06-2002 03:21 |
| Cheesy Poofs 4-0 at Regionals | archiver | 2001 | 7 | 24-06-2002 02:40 |