Log in

View Full Version : Recycle Rush Code


lakecat
07-01-2016, 21:55
We decided to switch from LabView to Java for this upcoming season. We ended up reprogramming all the robots from 2013-2015, and through this process found much success using the Strategy Pattern (https://en.wikipedia.org/wiki/Strategy_pattern) for our software architecture. Our Recycle Rush code offers a good example of this:

GitHub: https://github.com/ultr4son/LiftBotJavaV2.git

We also compiled a library of commonly used objects, called LakeLib.

Github: https://github.com/2635Lakemonsters/LakeLib

Teams are free to use this library and give suggestions on its improvement.

c0d3rman
07-01-2016, 22:51
That's really cool! Have you seen Command Based programming with wpilib? It looks like that's along the lines of some of the stuff you're doing here.