Coder Social home page Coder Social logo

bodiddles / daemon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pioneers/dawn-v0

0.0 2.0 0.0 2.83 MB

Daemon is a cross-platform frontend for the Pioneers in Engineering robotics control system. It's also the future.

Home Page: https://pioneers.berkeley.edu

License: Other

JavaScript 35.09% HTML 0.44% Python 45.07% Makefile 6.09% Batchfile 5.95% CSS 7.35%

daemon's Introduction

Overview

NOTE: This readme is a brief overview. For more in-depth docs on any specific component, refer to the wiki.

This repo currently contains Dawn and Runtime in the dawn/ and runtime/ folders, respectively.

Dawn

Dawn is a cross-platform frontend for the PiE robotics control system. It's also the future a dish soap. It is the applications students will see and use when programming and testing their robots.

Dawn is a desktop application, but it is written using web technologies (primarily ReactJS). This is made possible by a technology called Electron.

Quickstart

  1. Install Required Software:

    • Get NodeJS or (if you already have it) make sure to update to v5.0.0 (download from the NodeJS website)
    • Get electron: npm install -g electron-prebuilt
    • Get electron-packager: npm install -g electron-packager
  2. Get code and dependencies

    • Pull the latest code from pioneers/develop.
    • Enter the dawn directory: cd dawn.
    • Install dependencies with npm: npm install. Remember to do this step whenever the dependencies change.
  3. Start developing:

    • Launch the application: npm start. Leave this terminal window running. Dawn should open.
    • To see the effects of changes you make, just hit refresh: CMD-R (Mac) or CTRL-R (Windows).
  4. Package app:

    • Packaging Dawn is done with electron-packager. Run the following from the dawn folder:
    electron-packager . dawn --platform=darwin --arch=x64 --version=0.36.2
    

    Here --platform is the target platform (darwin means OSX) and --version corresponds to the Electron version.

Runtime

Runtime (formerly griff) is a python based platform for executing student code and controlling the robot hardware.

Quickstart

From the 'runtime' directory, run:

  1. Install memcached
  2. Use pip to install flask, eventlet, flask-socketio, and python-memcached
  3. python runtime.py
  4. memcached -p 12357 (from another terminal window)

Structure Diagram:

Dawn Architecture Diagram

daemon's People

Contributors

awli avatar matthew-zhao avatar zentner-kyle avatar brandonxxlee avatar bodiddles avatar danellenachum avatar fostertim avatar arjunmehta94 avatar dhe95 avatar jerryycheng avatar nikitakit avatar jerry-h-chen avatar ktomega avatar cookiestuf avatar szhu avatar n8nace avatar cduck avatar salonis 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.