Giter Site home page Giter Site logo

0m's Introduction

0M

Contributing to the Vector community! This framework allows cuztomizing the robot to one's own flavor by creating stackable skills responding to multiple sensory data.

"All life begins with Nu and ends with Nu. This is the truth! This is my belief! ...At least for now." โ€” "The Mystery of Life," vol. 841, chapter 26

Installation

Hardware Dependencies

Software Dependencies

  • Python 3.6.6+
  • Redis 4.0
  • Vector SDK
    • Follow SDK installation process (account creation is required)
    • Follow Vector Authentication process
      • Keep provided secrets for configuration in a later step
      • Keep provided certificate for configuration in a later step

Localhost

  • Go to cloned project's root directory
  • cd nu
  • python setup.py install or python -m pip install missing_dependency
  • git clone [email protected]:anki/vector-python-sdk.git
  • Move generated certificate into configs/vector.cert
  • Configure configs/nu.ini's sdk section with obtained secrets

Docker

  • Coming soon!

Raspberry Pi 3

  • Clone project into directory /home/pi
  • cd /home/pi/0M/nu
  • python setup.py install or python -m pip install missing_dependency
  • git clone [email protected]:anki/vector-python-sdk.git
  • cp /home/pi/0M/nu/configs/init.d/0M /etc/init.d
  • Move generated certificate into /home/pi/0M/nu/configs/vector.cert
  • Configure /home/pi/0M/nu/configs/nu.ini's sdk section with obtained secrets

Usage

Localhost

  • Place Vector on the charger
  • Launch Redis using redis-server
  • cd unto 0M project directory
  • Launch project in foreground mode
    • normal python -m nu
    • verbose python -m nu -v
    • very verbose python -m nu -vv
  • Launch project in background mode
    • silent mode python -m nu &
    • silent log mode
      • normal python -m nu 2>&1 >& /tmp/0M-normal.txt &
      • verbose python -m nu -v 2>&1 >& /tmp/0M-verbose.txt &
      • very verbose python -m nu -v 2>&1 >& /tmp/0M-very-verbose.txt &

Docker

  • Coming soon!

Raspberry Pi 3

  • Place Vector on the charger
  • Launch Redis using systemctl start redis-server
  • Launch project using systemctl start 0M
  • Stop using systemctl stop 0M

Technical Notes

Brain versus Body "senses" make no logical sense. WTF?

  • Brain sensory data comes from Raspberry Pi 3 and its Sense HAT
  • Body sensory data comes from Vector

0m's People

Contributors

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