A web server GUI hosted by flask which can be used to control the robot in manual, semi-automatic, and automatic modes.
Go to file
SanjayramVempati 9fbd2b47cf
Website remade in tailwind
Still need to integrate backend code into tailwind file
2023-01-25 18:16:38 -05:00
static combined drops and made css better 2022-11-14 18:41:23 -05:00
templates combined drops and made css better 2022-11-14 18:41:23 -05:00
.gitignore Flask integrated lets go! 2022-10-15 14:47:18 -04:00
app.py combined drops and made css better 2022-11-14 18:41:23 -05:00
LICENSE Initial commit 2022-09-24 15:09:20 -04:00
README.md Updated outdated readme :P 2022-11-17 21:34:51 -05:00
tailwind.config.js Woohoo! Manual control page is done! 2022-09-24 21:12:46 -04:00
tw.html Website remade in tailwind 2023-01-25 18:16:38 -05:00

Robot GUI

A web server GUI hosted by flask which can be used to control the robot in manual, semi-automatic, and automatic modes. The web server is meant to run on a flask backend, but we currently just run it on vanilla HTML and CSS with no backend; we plan on integrating it with flask in the very near future.

Code Description

As of now, the code is integrated with the flask server, which is able to send commands to the RaspberryPi via python's socket library.

  • static/ contains CSS files integrated into the flask application for styling purposes.
  • templates/ contains the HTML pages we display in our gui.
  • app.py is the flask application to be run. This features both intialization of pages and can send/recieve commands
  • tailwind.config.js configures tailwind.

Setup and Run.

  1. Clone this repo
git clone https://github.com/PotentiaRobotics/robot-gui.git
  1. Install required libraries (requirements.txt to be generated, for now just install what is required in app.py)

  2. Set up RaspberryPi server code (to be uploaded to this repo) and allow port 2345 and 2346

  3. Run server code on the RaspberryPi

python server1.py
  1. Initialize client
python app.py