Setting Up Your Workspace#

This document will help you setup your personal computer to control the SmartBots

Clone the repo using git#

Clone this repo with the following command (note the –recursive flag!):

git clone --recursive https://github.com/wvu-irl/smartbot3_project_template

This repo includes another repo smartbot_irl which is a python package used to control the IRL SmartBot. See the following gif for details if you are confused.

Open the smartbot3_project_template folder in VSCode#

Now, let’s open VSCode to the directory for the reop we have just cloned. When prompted to install recommended extensions, click yes. See the following gif for details if you are confused.

Open a VSCode terminal (shell)#

This can be done by going to the menu View->Terminal. Alternatively the keymap Ctrl-` will toggle the terminal pane open/closed.

We can have VSC open a variety of shells. On windows we can select from gitbash, CMD, and powershell. You may do this by clicking on the small down arrow at the top of the terminal pane. ../_images/vsc_new_shell.png

We can make additional terminal windows here if desired. Alternatively, the keymap Ctrl-Shift-` will also do this.

../_images/vsc_new_shell2.png