Quote:
Originally Posted by Ipiano
Ohhh I see what you mean. But you don't actually have to read the parser 
But still, very few teams know about the SmartDashboard, and very few teams have Autonomous. The ones that do are usually the more impressive ones who, like your team, have a 5-disc auto or something equal. I mostly want to help out the teams that don't have as much. They just have to drop these into their project, extend from them, fill out the abstract methods in the commands, And pass in a list of those commands in RobotInit.
|
Our auton never actually worked that well, it would go good at testing than run into the wall at competition. (Mine worked fine but It was never really tested at comp)
https://github.com/1684Chimeras/2013...utonomous.java
(next year will be a command-based structure like the earlier link)
My code follows similar structure, you just drop in TimedCommandGroup.java and add commands, in the 2014 code I've added a simple little command generator that will allow me to run 1-8 motors/relays/solenoids/etc at whatever desired value. Your code might be faster to write, but mine is easier to read and better support for multiple modes

plus once you learn to FTP, changing values without SD doesn't take too long