First Steamworks code

World Championship is over for us. We are archiving our code. For those who are interested, you can find it at:


This code features a pixy camera for vision with almost 100% success on autonomous gear at any starting position.

Cool! Will definitely make for an interesting read!

I took a look at your team’s code and it looked like your class is extended by a platform dependent class. Where can I access that? I also want to know if your code supports serial port and I2C. If it supports both, which one do you guys prefer me to use?

I am assuming you are referring to the Pixy camera support. If so, the platform dependent code is here:


Our framework library is shared between FRC and FTC. The platform independent code is located in trclib and the platform dependent code is located in frclib (for FRC) and ftclib (for FTC and not in this repo).
And yes, the platform dependent class supports both serial and I2C. Both works but we prefer I2C because we had some issues with the serial port support in WPILib. It will occasionally give us “framing error exception” unless we lower the baud rate to 9600. So we switched to I2C and it’s been very reliable.
Let me know if you have any questions about the code.

Thank you very much for answering all my questions. The code looked fine when I looked at it. But, if I have problems when testing and I can’t figure it out what the problem is, I will make sure our team gets back to you.

Again, thank you very much for your support!