FRC Team 1351 TKO from Archbishop Mitty High School is releasing their 2015 Java code. The code is available here on github.
Our focus this year was on transferring our existing codebase to Java, as well as implementing a proper threading system across the entirety of the robot code in order to ensure thread safety and make working with threads across the RoboRio safer, as well as ensure that exceptions were properly handled to ensure member safety.
Included on the github page are some areas of notice, including our Atoms-and-Molecules based autonomous system, our TKOThread class to allow for synchronized threads and thread safety, our centralized TKOHardware allowing us to easily monitor and control all of the inputs and outputs of the robot, as well as easily change inputs and outputs without severely disrupting working flow, and our TKOLogger system which allows us to log and track the various messages thrown out by the RoboRio during a run.
We hope that our code may be of use to somebody else. Let us know if it is!
–
Ishan Shah && Ben Kim
Programming Leads
TKO 1351