Skip to the content.

FRC Programming Software Installation

In this section, we will talk about installing Source Control Software as well as FRC Software Components.

Source Control Software

We use GitHub Desktop as our source control software that stores our source code on the Internet at GitHub.com (GitHub repositories). Follow these instructions to set up and install software to access our GitHub repositories.

Congratulations! You have now successfully cloned the FrcTemplate repository.

FRC Software Components

To develop code for an FRC robot, you need to install the following software components:

  1. Visual Studio Code: Integrated Development Environment (IDE).
  2. WPILib: Software Library provided by FIRST and Worchester Polytechnic Institute (WPI).
  3. Git Command Line Tools: Git command line tools provide plug-in for Visual Studio Code.
  4. FRC Game Tools (Optional): Include Driver Station Software and RoboRio Imaging tool.
  5. 3rd-party Vendor Libraries: Libraries for 3rd party devices.

Visual Studio Code

WPILib includes a version of Visual Studio Code for FRC. Therefore, by installing WPILib as described below, Visual Studio Code will be installed.

WPILib

Follow the instructions here to download and install WPILib.

Git Command Line Tools

Git command line tools allow you to perform Git operations within Visual Studio Code. You can download and install them from here. During the installation, it will ask you to select a lot of choices, just take all the defaults unless you know what you are doing.

FRC Game Tools (Optional)

This is optional unless you are using your laptop to drive/operate an FRC robot or using your laptop to install the OS image to the Robot Controller (RoboRIO). Generally, we use the team’s Driver Station laptop to drive/operate the robot, so there is no reason to install these tools on your laptop. If you want it, you can download and install the FRC Game Tools from here.

3rd-Party Vendor Libraries

There are a few 3rd-party vendor libraries that we need. The number of vendor libraries depends on what hardware devices we are using for the season. Generally, we install the following libraries:

3rd-Party Vendor Libraries are installed per project, meaning they are installed for a particular project. If you have cloned the FrcTemplate project, the vendor libraries from the above list are already installed and checked into GitHub for the FrcTempalte project. In other words, by cloning the project, you already have the required Vendor Libraries you need. Nevertheless, the instructions for installing these libraries are included below for your reference if you ever want to install some other vendor libraries.

To install the vendor libraries above to Visual Studio Code, click the W enclosed within a red hexagon at the top right corner of Visual Studio Code.

image name

Then select “WPILib: Manage Vendor Libraries”.

image name

Then select “Install new libraries (online)”.

image name

Then copy and paste one of the json URLs from the above list and hit enter.

image name

Repeat these steps for each of the vendor libraries you want to install.