srobo / brain-herdsman

Legacy Robot Management daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Herdsman

Herdsman is no longer used or maintained. It has been replaced by astoria.

Herdsman is a WAMP/HTTP client/server which was used as the primary low-level interface for remotely communicating with the robot. It provides functionality such as starting/stopping the user code, reading the logs, and providing a way of communicating directly with the user code.

Installation

$ pip install .

If you're not running Herdsman on SR kit, you'll need to use pyenv-dummy by setting PYTHONPATH=/path/to/pyenv-dummy. (At time of writing, pyenv-dummy is outdated; you will need to move sr/robot.py to sr/robot/__init__.py, and install this file at sr/robot/power.py.)

You will also need a set of webpages to serve, like tablet-interface.

Running

$ herdsman -s /path/to/tablet-interface -u /path/to/robot.zip

If not running as root, you can pass -p 8080 to avoid trying to listen on port 80.

Several other options are available, see herdsman --help.

About

Legacy Robot Management daemon

License:GNU General Public License v3.0


Languages

Language:Python 100.0%