DEV Community

Cover image for Intro to ftc programming
Samuel Villegas
Samuel Villegas

Posted on • Updated on

Intro to ftc programming

What is the FTC SDK 🤔, it is the interface between your code and the robot without it your code won't work. so first lets download android studio.

once you run the installer and setup android studio now we are going to download the SDK first go to the GitHub repo and there will be a green button with the text code Image description when you click on it there will be a button with a clipboard icon when you click on it the url of the GitHub repo will be copied to your keyboard.

now switch back to android studio on the home screen there should be a "clone from VCS" button that will open a dialog and in the text box on the top is were you are going to need to put the url and the textbox underneath is for the download folder.

Now before you click the "clone" button check by the bottom textbox and if you see a line of text saying "Git is not installed" click on it and it will start downloading git.

Now after that finishes click the "clone" button and you will get a popup asking if you want to sign in with GitHub or a token, for this tutorial we are going to the token method after you click sign in with token you should see a textbox and a button on the right side of the textbox saying "generate" if you click on that button you will see a page like this

Image description

This is were you grant this token permissions, now scroll down to the bottom of the page and there is a green button with the text "generate token"

Image description

when you click that you will see a page with a string of letters with a clipboard icon on the right side, by clicking on it you will copy the token to your clipboard, next switch back to android studio and put that token you copied into the textbox and click on the "ok" button.

Now the project should be opening in android studio in the bottom right there should be a progress bar wait for that to finish before continuing, now once it's done loading on the top right of android studio there is a button with the icon of a cube with a blue arrow pointing downwards.

Image description

This button will open the Android SDK manager which will let us program with specific android versions when you open the manager you will get a dialog with a list of android versions but we are only interested in two 7.0 -> 7.1.1

Image description

those two are from android nougat which is the current version supported by FIRST, then click on the "ok" button and accept the terms.

Now your PC ready for programming FTC robot's 🥳, now in the next part I will be going to go over the basics of using the FTC SDK.

Top comments (0)