-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome! This is a coding guide all the way from basic Java to vision code intended for FRC students, specifically those for Sargon Robotics team 2335 with little to no prior programming experience. My name is Jack Moren, I was the head programmer of the team from 2015 to 2019. Before my arrival, there was not a lot to learn from, with the FRC wiki being spotty at best and there only being one other programmer there wasn't a lot of time for me to learn. Additionally, our team wasn't too advanced in programming, so I had to learn a lot on my own. To preserve all I learned, I decided to write this guide. This is the 2.0 version, the first one being lost by SMSD erasing my Google Drive. Additionally, with there being a decent gap in FRC because of the pandemic, I figured it would be nice to have this all written down so when the robotics seasons continue, there's a good starting place.
Before we get started I want to make a section full of recourses you can use to look things up:
First and foremost, if you don't know something, don't feel bad, Google it! As someone who has been coding for over 7 years, I still google things constantly like "how to round a number in Java" or "how to create a timer in Java" it's not shameful to look things up.
Second, when it comes to robotics stuff, look at WPILIB, this is the home to coding for robotics. It tells you how to install all the FRC software, how to reimage the roboRIO, how to program the radio, and much more.
For documentation, everything in the WPILIB libraries is really well documented. We'll talk more about documentation later but for now, you can look up any class you need to use and get all the methods as well as what they do.
The last thing I'll say is: if you're confused about something, feel free to open up an issue on this repository. To do that, go to the top of the Github page while looking at this repo (you should already be there) and click on the issues tab:
Side note: if the pictures here are too small for you to see, just click on them, it'll open it up in a bigger size

Then click where it says create new issue:

Feel free to leave any concerns there, I'll respond as soon as possible!