In this section, we will talk about installing Source Control Software as well as FRC Software Components.
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.
C:\Users\<You>\Document\GitHub
Congratulations! You have now successfully cloned the FrcTemplate repository.
To develop code for an FRC robot, you need to install the following software components:
WPILib includes a version of Visual Studio Code for FRC. Therefore, by installing WPILib as described below, Visual Studio Code will be installed.
Follow the instructions here to download and install WPILib.
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.
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.
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.
Then select “WPILib: Manage Vendor Libraries”.
Then select “Install new libraries (online)”.
Then copy and paste one of the json URLs from the above list and hit enter.
Repeat these steps for each of the vendor libraries you want to install.