As of my time leaving, there are three official supported languages: Java, C++, and Labview. The first set of topics we're going to cover is the basics of the Java programming language. Then click where is says create new issue:įeel free to leave any concerns there, I'll respond as soon as possible! Basic Java Java Intro 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 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: The last bit I'll give, if you're confused about something, feel free to open up an issue on this repository. 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 at what they do.
It tells you how to install all the FRC software, how to reimage the roboRIO, how to program the radio, and much more.įor documentation, everything in the WPILIB libraries is really well documented. Second, when it comes to robotics stuff, look at WPILIB, this is the home to coding for robotics.
Resourcesīefore we get started I want to make a section full of recourses you can use to look things up:įirst 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. 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. This is the 2.0 version, the first one being lost by SMSD erasing my Google Drive. To preserve all I learned, I decided to write this guide. Additionally, our team wasn't too advanced in programming, so I had to learn a lot on my own. 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. My name is Jack Moren, I was the head programmer of the team from 2015 to 2019. 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. Variable initializattion and declaration.