FRC 2019 Project Code on VSCode System
Download FRC VSCode installer: https://github.com/wpilibsuite/allwpilib/releases
Download Java Development Kit: https://www.oracle.com/technetwork/java/javase/downloads/index.html
- Install the correct version of the latest version of JDK for your PC.
- Open the zip file, install and open FRC VSCode 2019.
- Install the correct version of the latest version of JDK for your Mac.
- Open the tar.gz file, move the WPILib_Mac folder to the home directory and rename it "frc2019".
- Open Terminal (/Applications/Utilities/Terminal.app), type "cd frc2019/tools" and hit enter.
- Type "python ToolsUpdater.py" and hit enter.
- Download and install Visual Studio Code from [code.visualstudio.com], then open it.
- In Visual Studio, open the command palette (Cmd + Shift + P) and click on/search for "Extensions: Install from VSIX...".
- Navigate to the "frc2019" folder, and go to the "vsCodeExtensions" folder inside.
- Select "Cpp.vsix" and open it.
- Click "Reload" in the dialog box that pops up in the bottom corner of the VSCode window.
- Repeat steps 6-8 for each of the VSIX files in the "vsCodeExtensions" folder in the following order:
- Cpp.vsix
- JavaLang.vsix
- JavaDeps.vsix
- JavaDebug.vsix
- WPILib.vsix
Download the latest version of the CTRE Phoenix Framework installer here: https://github.com/CrossTheRoadElec/Phoenix-Releases/releases/
Download the correct zip file for your system and unzip. Optional: Download only the Phoenix Tuner installer and not the rest of the CTRE Phoenix libraries.
- Run the installer.
- Click "Finish" when the install is complete
- Place the "maven" and "vendordeps" folders inside the frc2019 folder in the home directory..
- Open VSCode.
- Open the command palette (Cmd + Shift + P) & click on/search for "WPILib: Manage Vendor Libraries".
- Select "Install new library (online)".
- Check the box next to "CTRE Phoenix" and click "OK".
The following program install instructions are Windows-only. Unfortunately, there is no Mac version of LabView 2018 or the FRC Suite as of now.
- Download the LabView 2018 installer (~5-6 GB) here: http://www.ni.com/download/labview-for-frc-18.0/7841/en/. You will have to create or use an existing National Instruments account.
- Extract all the files inside the zip file into a new folder. This may take a while.
- Run autorun.exe, found inside the folder with the extracted files.
- Close all other programs.
- Select "Install everything for LabView Development" or "Install only NI Vision Software" depending on your needs.
- Click "Next" through all the windows (Allow NI to automatically check for updates).
- When you reach the "User Information" window, enter your full name, and "FRC Team 6238" for your organization. (If you're not on the Popcorn Penguins, enter your team number. Also, thank you for looking at our repo :). )
- Under serial number, enter the serial number you get from the team coach. (If you're on the Popcorn Penguins, you can ask Mr. Hondl or Ishan too)
- Click "Next", "I accept the above 3 License Agreement(s)", "Next", "I accept the above 2 License Agreement(s)", and "Next".
- Make sure the box next to "Always trust software from National Instruments Corporation." is checked, then click "Next".
- Make sure the box next to "Disable Windows fast startup..." is checked, then click "Next".
- Click "Next" on the window titled "Start Installation".
- Allow LabView 2018 and/or NI Vision Software to install.
- On the "Installation Summary" window, make sure the box next to "Run License Manager..." is checked, then click "Next". (You will need a working internet connection).
- Log in to your NI account on the window that pops up.
- In the Licensing Wizard window, enter the same serial number from before in all the boxes if it is not already there.
- If the activation was successful, all the text boxes should be replaced by green "Activation Successful" text.
- If all the software activated successfully, click "Next", otherwise double-check the serial number(s) entered.
- Close the Activation Wizard.
- Click "Yes" on the Restart dialog, then wait for your computer to restart.
- Do not install any updates you are prompted to by the NI Update Service unless directed to do so by FRC.
- Download the FRC 2019 installer (~700-800 MB) here: http://www.ni.com/download/first-robotics-software-2017/7904/en/. You will have to create or use an existing National Instruments account. Enter the decryption key $Robots&in#SPACE!! if prompted to do so.
- Extract all the files inside the zip file into a new folder.
- Run setup.exe, found inside the folder with the extracted files.
- Close all other programs.
- Click "Next" in the installer window.
- Click "Next" again. There is no need to deselect the LabView update; it will not install if LabView is not already installed on your computer.
- Make sure the box is checked, then click "Next".
- When you reach the "User Information" window, enter your full name, and "FRC Team 6238" for your organization. (If you're not on the Popcorn Penguins, enter your team number. Also, thank you for looking at our repo :). )
- Select "I accept the above 2 License Agreement(s)", then click "Next".
- Repeat step 9 on the second license agreements window that appears.
- Allow the Update Suite to install.
- In the window that appears, check the box next to "Run License Manager...", then click "Next".
- Log in to your NI account on the window that pops up.
- In the Licensing Wizard window, enter the same serial number from before in all the boxes if it is not already there.
- If the activation was successful, all the text boxes should be replaced by green "Activation Successful" text.
- If all the software activated successfully, click "Next", otherwise double-check the serial number(s) entered.
- Close the Activation Wizard.
- Click "Yes" on the Restart dialog, then wait for your computer to restart.
- Do not install any updates you are prompted to by the NI Update Service unless directed to do so by FRC.