Vertical Robotics Competition
  • Welcome to VRC!
  • Before We Get Started
    • Phase I Overview
    • Helpful Links
  • Primary Goal: Assembly and Configuration
    • VRC Drone Kit Contents
    • VRC Drone Assembly
      • Arms and Motors
      • Landing Gear, PDB, and Rails
      • ESCs, FC Power Module, and Receiver
      • Flight Controller Enclosure
      • Mounting the Flight Controller
      • Top Plate and Arms
      • FC and ESC Wiring
      • Propeller Adapters
    • RC Transmitter Setup
      • Basic Usage
      • Binding the RC Receiver
      • Setting the Output Mode
      • Setting Up Channels on the RC Transmitter
      • Setting Up Failsafe
    • FC Setup and Calibration w/ QGC
      • PX4 Firmware
      • Airframe
      • Sensors
      • Radio
      • Flight Modes and Kill Switch
      • Power
      • Safety
      • Motor Test
  • Sphero RVR
    • RVR Assembly
    • RVR Programming
  • Battery
    • Overview
    • Charging
    • Storage
  • Checkpoint #1: Flight Test
    • Before You Fly
    • Flight Test
    • After You Fly
  • SECONDARY GOAL: PCC
    • Laptop Setup
      • Setting Up Windows
      • Install Git Bash
      • Clone the VRC Repo
      • Install Anaconda
      • Install VS Code
      • Install SD Card Formatter
      • Install Balena Etcher
      • Install PuTTY
      • Install QGroundControl
    • Peripheral Control Computer (PCC)
      • Physical Assembly
      • Video Tutorial: Flash & Test PCC
      • Flash the PCC
      • Test the PCC
  • Overachiever Goal
    • Vehicle Management Computer (VMC) Setup
      • Preparing the Jetson
      • Flashing the SD Card
      • First Boot
  • 3D Printing Project
    • Project Overview
    • Sr. Design Project
    • Rotor Guards
  • Diving Deeper
    • Control Loops
    • Glossary
Powered by GitBook
On this page

Was this helpful?

  1. SECONDARY GOAL: PCC
  2. Laptop Setup

Install VS Code

PreviousInstall AnacondaNextInstall SD Card Formatter

Last updated 4 years ago

Was this helpful?

(VS Code) is an editor that allows us to create and edit Python scripts that will run on our drone's companion computer, as well as our ground control station computer.

You can find the download links .

Follow the installer setup, making sure to check the box for "Create a Desktop Icon", "Add 'Open with Code' action to Windows Explorer file context menu", "Register Code as an editor for supported file types", and "Add to PATH (requires shell restart)"

Configure VS Code:

With VS Code installed, we'll want to install some extensions to help us in our python development.

  • If it's not already running, start VS Code

  • Once loaded, click the extensions button on the left toolbar (or press Ctrl + Shift + X)

Search for "Python" and click the green install button next to the Python extension. There's a good chance it's already installed, in which the button will say uninstall (don't click it if that's the case).

That's it! We can now create Python scripts on our development machine.

If you see " Select Python Interpreter" in the bottom left of the VS Code window, click it and choose our virtual environment from the list that we created in the tutorial previously.

Anaconda
Visual Studio Code
here