This is a backup of the walle capstone project code written by Gavin Andres for the club sponsored outreach project. The ME's working on the project didn't have backups anywhere so I am doing this here.
-
Clone the repo using git (
git clone https://github.com/Cardinal-Space-Mining/WalleCapstoneProject.git) -
Make sure python virtual environment support is installed. (
sudo apt install python3-venv) -
Create virtual environment (
python3 -m venv .venv) -
Activate virtual environment (
source ./.venv/bin/activate) -
Install necessary libraries (
pip3 install -r ./requirements.txt)
-
Source venv (
source ./.venv/bin/activate) -
Run code
(python3 ./walle/walle.py)
It is meant to be run on a Rasbery PI. An easy way to set that up is to disable RPI signin, and call the main file from ~/.bashrc
In this case, the code is as follows:
WalleDir='/home/pi/WalleCapstoneProject'
${WalleDir}/.venv/bin/python3 ${WalleDir}/walle/walle_new.pyJust paste it at the end of your ~/.bashrc changing WalleDir to be the absolute path to the cloned repo. Note, the setup instructions must be completed first.