GithubHelp home page GithubHelp logo

makimenko / akibot-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 675 KB

AkiBot Experimental Server on Node.js

Home Page: http://makimenko.github.io/akibot

License: MIT License

TypeScript 100.00%

akibot-server's Introduction

AkiBot Experimental Server on Node.js

Sub-project of https://github.com/makimenko/akibot.git

Set of projects:

  1. Client part: akibot-ui
  2. Common (server and client) components: akibot-common
  3. Devices (I2C-BUS, GPIO): akibot-device
  4. Simple logger: akibot-log
  5. Documents and images: akibot-doc

Pre-Installation

  1. Install Git
  2. Install Node.js

Installation

  1. Clone repository
git clone https://github.com/makimenko/akibot-server.git
  1. Install Global dependencies
npm install typescript ts-node nodemon mocha chai -g
  1. Go to the project directory, install project dependencies and launch the server.
cd akibot-server
npm install
npm run serve

Sample UI

https://github.com/makimenko/akibot-ui Demo

Concept

World Nodes

Use-Case: Orientation

Orientation Workflow Example

Sample logs:

[nodemon] starting `ts-node src/sandbox.ts`
 2017-8-15 09:59:52:  Info: sandbox                  : Initializing starting...
 2017-8-15 09:59:52: Debug: CommandComponent         : constructor
 2017-8-15 09:59:52: Debug: OrientationComponent     : constructor
 2017-8-15 09:59:52: Debug: GyroscopeComponent       : constructor
 2017-8-15 09:59:52: Debug: WheelComponent:Left      : constructor
 2017-8-15 09:59:52: Debug: WheelComponent:Right     : constructor
 2017-8-15 09:59:52:  Info: sandbox                  : Sandbox starting...
 2017-8-15 09:59:52: Debug: OrientationComponent     : onOrientationRequest: 100
 2017-8-15 09:59:52: Trace: OrientationComponent     : subscribeGyroscope
 2017-8-15 09:59:52: Debug: GyroscopeComponent       : onGyroscopeMode: autoInterval=1000ms
 2017-8-15 09:59:52: Trace: GyroscopeComponent       : getGyroscopeValue
 2017-8-15 09:59:52: Trace: OrientationComponent     : onGyroscopeValue: 137.9412548353855
 2017-8-15 09:59:52: Trace: WheelComponent:Left      : onRight
 2017-8-15 09:59:52: Trace: WheelComponent:Right     : onRight
 2017-8-15 09:59:53: Trace: GyroscopeComponent       : getGyroscopeValue
 2017-8-15 09:59:53: Trace: OrientationComponent     : onGyroscopeValue: 83.43736961338327
 2017-8-15 09:59:53: Debug: OrientationComponent     : Seems Orientation is finished
 2017-8-15 09:59:53: Debug: OrientationComponent     : endWork
 2017-8-15 09:59:53: Trace: OrientationComponent     : unsubscribeGyroscope
 2017-8-15 09:59:53: Debug: GyroscopeComponent       : onGyroscopeMode: autoInterval=0ms
 2017-8-15 09:59:53: Trace: WheelComponent:Left      : onStop
 2017-8-15 09:59:53: Trace: WheelComponent:Right     : onStop
 2017-8-15 09:59:53: Debug: OrientationComponent     : sendResponse: SUCCESS
 2017-8-15 09:59:53:  Info: sandbox                  : Orientation SUCEEDED! Final angle is: 83.43736961338327

akibot-server's People

Contributors

makimenko avatar

Watchers

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