Giter VIP home page Giter VIP logo

runmynodebot's Introduction

Runmynodebot

Installation

Install Node

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt install nodejs

Install runmynodebot

cd ~
git clone https://github.com/Mike111177/runmynodebot.git
cd runmynodebot
npm install
If you are on a Raspberry Pi then do:
npm install raspi-io
If you are planning on using the video streaming feature, you will need to install FFmpeg:
sudo apt install gnutls-dev
cd /usr/local/src
git clone https://github.com/r3n33/FFmpeg.git -b dynoverlay
cd FFmpeg
./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --enable-gnutls --extra-libs=-ldl --enable-zlib
make -j4
sudo make install

Credit goes to @r3n33 for the dynoverlay filter and install instructions.

Running

The default configuration

sudo node runmynodebot.js run <Your robot ID>

The default configuration with video streaming

sudo node runmynodebot.js run <Your robot ID> --video <Your camera ID>

Note that the default configuration does put a watermark on video output. If you are using the video feature of this program and would like to remove said watermark, simply create and use your own configuration file.

A configuration from the examples folder

sudo runmynodebot.js run <Your robot ID> --example Tiger

A custom configuration

Warning: This software is in very early development, your configuration may not survive updates.

cd ~
mkdir <folder to hold configs>
cd <above created folder>
node ~/runmynodebot/runmynodebot.js create myrobot.yml

You can then edit myrobot.yml as you please.
To see more about configuration files see Configuration
To run then:

sudo node ~/runmynodebot/runmynodebot.js run <Your robot ID> --config myrobot.yml

runmynodebot's People

Contributors

mike111177 avatar dan2wik avatar

Stargazers

 avatar Joe Gregg avatar

Watchers

James Cloos avatar  avatar Let's Robot avatar

Forkers

mattanimation

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.