Further documentation is in the design_docs
folder.
- These software setup instructions should work on any operating system. If you experience discrepancies ask @fruzyna or #software.
- Install Java Development Kit (JDK) 11.
- Make sure to accept the license before choosing the appropriate version.
- You may need to create an Oracle account to download.
- Install Visual Studio Code.
- Install Git.
- You will likely only need to do this step if you use Windows.
- Install the Java Extension Pack for VS Code.
- This can also be installed by searching for it in the Extensions sidebar (4 boxes button or Ctrl + Shift + X) as for the following.
- Install the WPILib Extension for VS Code.
- Official FIRST documention
- This will give command line instructions, if you prefer you can use a GUI like GitHub Desktop.
- Open the VS Code terminal (Terminal > New Terminal).
- Type
git clone https://github.com/wildstang/2019_robot_software.git
to clone the repository. - Enter your GitHub credentials if prompted.
- Open the cloned repository's folder in VS Code (File > Open Folder...).
To open the command palette use:
- F1
- Ctrl + Shift + P
- Cmd + Shift + P
- Select the WPILib Command Palette 'W' button in the top right
To build the code, open the command palette, search and select "WPILib: Build robot code".
To deploy the code, open the command palette, search and select "WPILib: Deploy robot code, or press Shift + F5.
To debug the code, open the command palette, search and select "WPILib: Debug robot code".
You'll want to have a look below and at the detailed docs in the
design_docs
folder for more information on where to go next.