@@ -12,7 +12,7 @@ can connect to all FRC languages (C++, Java, LabVIEW, Python).
1212
1313.. note :: NetworkTables is a protocol used for robot communication in the
1414 FIRST Robotics Competition, and can be used to talk to
15- SmartDashboard/SFX . It does not have any security, and should never
15+ Shuffleboard/SmartDashboard . It does not have any security, and should never
1616 be used on untrusted networks.
1717
1818Documentation
@@ -39,10 +39,10 @@ Easy install (Windows only)
3939Manual install
4040--------------
4141
42- Make sure to install python 2 or 3 on your computer, and on Windows you can
42+ Make sure to install python 3 on your computer, and on Windows you can
4343execute::
4444
45- py -m pip install pynetworktables2js
45+ py -3 - m pip install pynetworktables2js
4646
4747On Linux/OSX you can execute::
4848
@@ -75,20 +75,20 @@ Usage
7575You can just distribute your HTML files, and run a pynetworktables server
7676using the following command from inside the directory::
7777
78- python -m pynetworktables2js
78+ python3 -m pynetworktables2js
7979
8080Or on Windows::
8181
82- py -m pynetworktables2js
82+ py -3 - m pynetworktables2js
8383
8484This will start a pynetworktables2js server using Tornado (which is installed
8585by default) and it will serve the current directory. You can navigate your
8686browser (I recommend Chrome) to http://127.0.0.1:8888 and see your website.
8787
8888You will want to also pass either the ``--robot `` or ``--team `` switch::
8989
90- py -m pynetworktables2js --robot roborio-XXXX-frc.local
91- py -m pynetworktables2js --team XXXX
90+ py -3 - m pynetworktables2js --robot roborio-XXXX-frc.local
91+ py -3 - m pynetworktables2js --team XXXX
9292
9393Dashboard mode currently doesn't work, as the underlying support in
9494pynetworktables hasn't been implemented yet for the newer FRC Driver Station.
@@ -102,17 +102,17 @@ uses `tornado <http://www.tornadoweb.org/en/stable/>`_, and one that uses
102102
103103Go to the 'example' directory distributed with pynetworktables2js, and run::
104104
105- python tornado_server.py --robot 127.0.0.1
105+ python3 tornado_server.py --robot 127.0.0.1
106106
107107If you want to try this out with your current robot, you can do::
108108
109- python tornado_server.py --robot roborio-XXX.local
109+ python3 tornado_server.py --robot roborio-XXX.local
110110
111111If you are running pynetworktables2js on your driver station laptop, you can
112112receive robot IP information directly from the Driver Station (handy during
113113actual competitions)::
114114
115- python tornado_server.py --dashboard
115+ python3 tornado_server.py --dashboard
116116
117117If you navigate your browser (I recommend Chrome) to http://127.0.0.1:8888, all
118118of the current NetworkTables values will be shown as they change.
0 commit comments