Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.
/ brain-herdsman Public archive

Legacy Robot Management daemon

License

Notifications You must be signed in to change notification settings

srobo/brain-herdsman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.