Flask webapp for interacting and remotely controlling the MASCCOT robot via WiFi.
# Clone the repository and its submodules
git clone https://github.com/DVC-Viking-Robotics/webapp
cd webapp
git checkout master
git submodule update --init --recursive
# Prepare the virtual environment
pip install virtualenv
python -m venv env
# Activate the virtual environment
# FOR WINDOWS
env\\Scripts\\activate.bat
# FOR LINUX
source env/bin/activate
pip install -r requirements.txt
On the Raspberry Pi, you'll need to install the picamera
module via apt
:
sudo apt-get install python3-picamera
python -m webapp.app [cmd args]
# cmd args currently not supported