Code Monkey home page Code Monkey logo

puppet-master's Introduction

Puppet Master: a Control Web Interface for Poppy robots.

Warning: Puppet Master is only intended to work on a Raspberry-Pi correctly setup to work with Poppy robots. You should not run it on your own computer!

Installation

  • Download this repository. And extract it.

  • Install the dependencies (Flask, pyyaml, and requests) via:

pip install -r requirements.txt
  • You need to download snap and unzip it in the main folder (i.e. alongside the static folder as snap).

  • You need to download poppy-monitor and unzip it in the same folder as monitor.

  • You need to download a compiled version of poppy-docs and unzip the docbook in the same folder as docs.

  • You need to have Jupyter installed and launched. The interface simply redirects to the default jupyter url (using the 8888 port).

Usage

To start the web interface, simply run the bouteillederouge.py script:

python bouteillederouge.py

It will start the webserver bind on 0.0.0.0 and use the default port 2280. So, you can now connect to http://localhost:2280 and see this:

Homepage of the Web Interface

You can run it in test mode that can be used on any computer without risking erasing anything via. The debug flag is for Flask debug mode:

python bouteillederouge.py --debug --test

puppet-master's People

Contributors

pierre-rouanet avatar dashdashzako avatar show0k avatar ymollard avatar

Watchers

James Cloos avatar  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.