View Single Post
  #1   Spotlight this post!  
Unread 09-04-2013, 11:43
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Clutter from autonomous

So this is my second year mentoring FRC, and the second year where MyRobot.cpp has absolutely exploded through the competition season due to autonomous routines being added.

I'm curious if many teams out there have similar issues, if they've solved them, and how?

My personal thinking is that a lot of this stems from the robot class being extremely tightly coupled with the game and driver station elements, and forced into a cpp file with no .h backer declaring things. While I understand this is to make things simple for people to start out, it seems like a better way should be available (in the form of an example project)

I'm thinking about doing some house-keeping during the off season to decouple the game and controls from the robot class, which should make it easy to spawn off autonomous helper functions and autonomous routines that don't all have to live in a single file to gain access to the robot parts.

Thoughts?
Reply With Quote