Gray Matter LogoGray Matter Workshop

Project Setup

Project Setup - Launching Your Codebase

Step-by-step guide to generating a new WPILib project using the Command framework template.

🎯 Key Concept: Starting with the right template ensures organized commands and subsystems.

Creating a New WPILib Project

Follow these step-by-step instructions to create a new FRC robot project using the Command Robot Skeleton (Advanced) template.

1

Open VSCode

Launch Visual Studio Code with the WPILib extension installed.

2

Select the WPILib Logo in Top Right Corner

Click on the WPILib logo/icon in the top right corner of VSCode.

3

Select "Create a New Project"

From the WPILib menu, choose the "Create a new project" option.

4

Select "Select a project type (Example or Template)"

Choose Template → Java → Command Robot Skeleton (Advanced)

5

Base folder select "Downloads"

⚠️ Warning

OneDrive locations are not supported and will cause project creation to fail.
6

Project Name "Workshop"

Enter "Workshop" as your project name.

7

Team Number

Enter your FRC team number. This is required for deploying code to your robot.

8

Check "Enable Desktop Support"

This allows you to test your robot code on your computer without a robot.

Generate Project

Click "Generate Project" and then open the new project when prompted.

💡 Next Step

After creating your project, you'll learn about the Command-Based Framework in the next section. Your project will be ready for implementing subsystems and commands!

We use PostHog analytics with user-identifying features disabled to improve our site. Data is aggregated and not used to identify you. You can accept or reject analytics.