Skip to content

Using VSCode

xgreyskiesx edited this page Jan 9, 2019 · 6 revisions

Installation

Before getting started, VSCode and all the extra extensions need to be installed. The good news: WPI provides a handy installer that does all the major work for you. The bad news: this installer is a little over a gigabyte in size, and might take a while to download.

Get the installer from their official GitHub, and unless you've got super fast internet, strap yourself in for a wild ride. A ride consisting of sitting in one spot for a few minutes. Probably.

When it's done, extract the zip file to a safe folder and run the provided .exe. When prompted for what user to install for, it's probably best to do it just for your profile, unless otherwise instructed.

On the next screen, make sure you click the "Select/Download VS Code" button. In there, hit "Download", and wait for the program to get everything it needs. Once that's finished, make sure the window looks like this:

All the boxes should be checked

Hit that fancy "Execute Install" button and wait for a bit again. When the window saying everything finished pops up, you're done!

Installing CTRE

Cross the Road Electronics (CTRE) offers software and libraries made to work with certain robot objects called Talons, which control motors. This is necessary to the robot, as many of the motor controllers we have only work with this software.

The download is located here, as the top link in the "installer" tab.

This time, you can just keep hitting next/agree/install until it's done with everything. At the end, uncheck the "View Release Notes" box and click finish. You're done!

Creating Robot Projects

Adding CTRE as a Dependency

Managing Git Integration

Staging Files

Committing Changes