Thread created automatically to discuss a document in CD-Media.
Graphical Autonomous Generator
by: pjreiniger
A piece of software for Java and C++ teams to easily create autonomous modes
I’ve created a program which can generate autonomous code graphically and easily, with no knowledge of software needed. Two years ago we at Team 229 developed a positioning system to keep track of our (x,y) coordinate on the field, but it was somewhat difficult to plan out where to drive to. Thus the Graphical Autonomous Generator was born.
It allows an easy interface to create several different modes with simple mouse clicks on a picture of the field. All that is necessary on the robot end is a way to keep track of your positioning, which you can do with an encoder and a gyro, two encoders, accelerometers, etc. The goal for this was to make it easy for anyone to create a productive autonomous mode simply, but also have it be highly customizable, making it a great resource for rookies as well as seasoned veteran teams. Since the printout is simply making a function call, it can be used for teams using either Java or C++. The code from our 2010 robot is written in C++ but can be easily ported to Java.
Attached with the JAR is a JavaDoc to explain everything, our most recent (I think) positioning system, waypoint driver, and autonomous code. They were mildly tested working with a previous iteration of this software at the 2010 Rochester Ruckus with surprisingly good results.
I have never worked on a piece of software this large before, and all of my Java GUI knowledge was self taught through Google, but it proved to be a valuable learning experience. I am releasing this project as open source so anyone can peruse through it, add your own commands, fix my GUI mistakes, or tell me how to be a better software engineer, whatever you want to do to it.
If you have any questions or comments feel free to reply, or look at the readme. 5 days till the 2011 kickoff!
Beta V1.0.0 shipment.zip (624 KB)