Code Monkey home page Code Monkey logo

pipro's Introduction

Pipro

Pipro is a submission to U of T Hacks 2022. The hackathon's theme is Restoration. For the project, we chose to focus on restoring broken pipes to deal with the common and dangerous issue of leaky gas pipes in home or industrial complexes.

The app is a proof-of-concept and does not offer any real solutions. The idea is that there would be drones linking to a web server which would fly around and detect gas leaks. Upon detecting, the user's web dashboard would light up with the location of the leak allowing for quick repairs, or for evacuation if necessary.

First set up and run the server

$ project-direcrory> cd server
$ Sim> pip3 install flask
$ Sim> pip3 install flask-session
$ server> flask run

Run the frontend

$ project-direcrory> cd client
$ client> npm install
$ client> npm run dev

Run Simulation (Make sure to install Python 3.10)

$ project-direcrory> cd Sim
$ Sim> pip3 install pygame
$ Sim> pip3 install requests
$ Sim> python3 main.py

You can then open the application at the follwoing link in your browser

http://localhost:3000/

Simulation Controls:

  • Use ASWD to pan the camera
  • Use Arrow Keys to move the drone
  • Use the Scroll Wheel on your Mouse to Zoom

Web Dashboard Controls:

  • Click on red leak notification pings to remove them

pipro's People

Contributors

alekseypanas avatar rshetty22166 avatar lunarfang416 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.