Peddie School Robotics is happy to share the code for our 2016 robot.
This software is heavily inspired by 254’s past code releases (thanks!). Some changes from 254’s past code include the lack of complex inheritance structures and extensive use of the new Java 8 functional interfaces. This was the students’ first year in FRC and I’m very impressed with how quickly they learned and how much they accomplished.
Our autonomous framework made it easy for students to write and test their own autonomous routines using the same subsystem method calls used in teleop. The “Waiter” class in particular uses functional interfaces to let the robot reach any arbitrary condition before moving on to the next command.
Take a look at our repo
here and let me know if you have any questions about the code.