Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Oct 3, 2015
1 parent 12ae4cf commit 8df63f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,17 @@ those resources to make something cool to control your robot?
Usage
=====

There are two example servers distributed with pynetworktables2js, one that
uses `tornado <http://www.tornadoweb.org/en/stable/>`_, and one that uses
`aiohttp <https://github.com/KeepSafe/aiohttp>`_. Either one should work.

Go to the 'example' directory distributed with pynetworktables2js, and run::

python server.py --robot 127.0.0.1
python tornado_server.py --robot 127.0.0.1

If you want to try this out with your current robot, you can do::

python server.py --robot roborio-XXX.local
python tornado_server.py --robot roborio-XXX.local

If you navigate your browser (I recommend Chrome) to http://127.0.0.1:8888, all
of the current NetworkTables values will be shown as they change.
Expand Down

0 comments on commit 8df63f8

Please sign in to comment.