Lesson 1
By the end of this lesson you will know how to:
- Navigate WPILib VS Code
- Create a new robot project
- Build your code
First, open VS Code Overview — FIRST Robotics Competition documentation and read through the first 3 bullet-point documents. Follow along in WPILib VS Code on your computer.
Then, watch this review video to review.
When You Create a Robot Program
- Select the Command Robot skeleton template.
- Name the project:
ProgrammingTrainingSandbox26-27
End-of-Lesson Checklist
By the end of this lesson, you should be able to answer yes to all of these:
☐ I can find my way around VS Code.
☐ I know how to open the Command Palette (Ctrl + Shift + P).
☐ I know what the WPILib extension is.
☐ I know how to create a new robot project.
☐ I know the difference between Build and Deploy.
☐ I know how to deploy code to a roboRIO.
☐ I know how to run a simulation.
☐ I know where to find the WPILib API documentation.
☐ I know what vendor libraries are and why they’re used.
What You DON’T Have to Do
☐ Memorize every WPILib command. ☐ Know everything by memory.
This documentation will be here at any time for you to refer to at any point during your programming ventures.