diff --git a/Code/Control/Laptop_Code/README.md b/Code/Control/Laptop_Code/README.md index a19c8a625086acc4cbcf3c094426f04b6ba1f620..16fa2cbb921756723a618b3451de1b1ebe719301 100644 --- a/Code/Control/Laptop_Code/README.md +++ b/Code/Control/Laptop_Code/README.md @@ -1,10 +1,43 @@ -[Progress] The overall logic is clear and tested! +# Laptop Code -What to do next in python main: +## 1 Main structure + +## 2 Software Requirements + +### Step 1: + +Download Anaconda or Pycharm + +### Step 2: + +- If using Anaconda, then create a virtual environment first: + +```shell +# crreate virtual environment +conda create -n FORAYenv python=3.7 +# activate virtual environment +conda activate FORAYenv +# install environment installation tool pip (if it doesn't have one) +conda install pip +``` + +- If using Pycharm, at the very beginning, create a virtual environment + + + +### Step 3: + +Install dependency + +- If using Anaconda, install it from the terminal. And always remember to activate the conda environment fist: `conda activate FORAYenv` + +```shell +# install pyserial +pip install pyserial +# install pygame +pip install pygame +# install cv2 +pip install opencv-python +# install +``` -- Have keyboard interruption in the python function - - To tweak PID value while running the program - - To stop the balloon from being crazy -- The meter version April tag detection is still problematic so we need to tune that -- Use field test experiment to test PID -- \ No newline at end of file