To run a VEX AIR project created in VS Code on a VEX AIR Drone Controller, the project must first be built and downloaded. Follow the steps in this article to download a project to your robot and then run the project.
Downloading a VEX AIR Project in VS Code
Connect the controller to the computer using a USB-C cable and power on the controller.
Select the slot selector icon on the toolbar to choose the slot to download the project on the controller.
Choose a slot (1–8) from the quick pick list. Downloading a project to a slot with an existing project in it will overwrite the previous project.
Select the download icon to build and download the project to the controller.
Note: The build icon appears when no VEX device is connected.
The project will then appear in the controller's Programs menu.
For more information on starting a project from the Programs menu, go here.
Selecting from Multiple Python Files (Optional)
Multiple Python files can be open at the same time in VS Code. You must select the appropriate file before downloading and running a project. Follow the steps below to make those selections.
Note: The VEX Extension only supports single Python file downloads currently.
Select the Python file selector icon on the Toolbar.
Note: This icon appears only when a VEX Python project is selected.
A Quick Pick List will show all Python files in the workspace. Choose the file to build.