Git Product home page Git Product logo

vigiclient's Introduction

Make your own Vigibot.com raspberry PI robot

Why this fork ?

  1. Main project is quite hard to read, I'm trying to clean it a little bit so it can be extended !
  2. Robots using main project are updated each time a commit is done in the repo. Robots that use this project will be updated based on stable releases.
  3. Pull request are not very welcome in the main project. Feel free to contribute here :)

Versions names

Release names are composed like: X.Y.Z

  • X: Updated when there is a protocol change. Update to this release is mandatory.
  • Y: Updated when there is a major change in the project. Update to this release is optionnal.
  • Z: Updated when there is a minor change in the project. Update to this release is optionnal.

Installation

  1. Follow steps of the main project
  2. Override with ssh files in /usr/local/vigiclient with the last release of this project
  3. Update your robot config:
    • Edit your robot Configuration matérielle
    • Use Config effective tab
    • Switch editor mode to Code
    • Add/Edit the PLUGINS section with an array of your needed plugins. Eg:
      • "PLUGINS": [ "Safety", "VideoDiffusion", "AudioDiffusion" ]
  4. Use new files:
    • cd /usr/local/vigiclient
    • Install new dependencies: npm install
    • Restart client: systemctl restart vigiclient

Available plugins

Plugin name Description
Safety Mandatory, it manage the safety of your robot: it will cut the motors if some lag appear
VideoDiffusion Mandatory, it allow to display the video of the robot
AudioDiffusion If you have a microphone on your robot, it can stream its audio feed
TextToSpeech Allow your robot to speak when the user type something in the chat
SerialSlave Allow to forward communication to a slave throw serial communication. Useful if you use an arduino paired with the Raspberry Pi.
More to come, feel free to contribute !!!

Customization with plugins

  1. Create a plugin in the plugins folder. (Look at SerialSlave.js as exemple)
  2. Declare your plugin in the Configuration matérielle of your robot, see installation instructions
  3. Restart the client process (Can be done from the UI with icon: )

vigiclient's People

Contributors

pirquessa avatar mike118 avatar ryandrew avatar vigibotdev avatar lxtzfr avatar lotib avatar

Stargazers

efeu avatar  avatar

vigiclient's Issues

Audiodiffusion plugin is not working

" i get a frame or two then it hangs. i tried with only audiodiffusion.js : it gets stuck.
there must be a blockage in audiodiffusion.js"

image

start:

  1. it starts the videodiffusion
  2. it starts audiodiffusion
  3. videodiffusion changes to low quality because audiodiffusion (?) blocks everything

sleep (that's the screenshot):
•audiodiffusion exit code is 255.
i don't know what code 255 means.
it probably gets this code from audio

Logger.js case is wrong

User have issues with "./utils/Logger.js" is not available.

=> Case issue linked to Windows...

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.