Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 9204b9c

Browse files
fovea1959mcm001
andauthored
Update docs to show that IP addresses or hostnames are allowed. (#272)
This change should not be merged until PR PhotonVision/photonvision#764 is applied. Co-authored-by: Matt <[email protected]>
1 parent e0c4bb6 commit 9204b9c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

source/docs/hardware/Settings.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ Networking
1111
^^^^^^^^^^
1212
Here, you can set your team number, switch your IP between DHCP and static, and specify your host name. For more information about on-robot networking, click `here. <https://docs.wpilib.org/en/latest/docs/networking/networking-introduction/networking-basics.html>`_
1313

14-
.. note:: A team number is always required if using PhotonVision on a robot.
14+
The "team number" field will accept (in addition to a team number) an IP address or hostname. This is useful for testing PhotonVision on the same computer as a simulated robot program;
15+
you can set the team number to "localhost", and PhotonVision will send data to the network tables in the simulated robot.
16+
17+
.. note:: Something must be entered into the team number field if using PhotonVision on a robot. Using a team number is recommended (as opposed to an IP address or hostname).
1518

1619
LEDs
1720
^^^^

source/docs/hardware/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The directory structure is outlined below.
2727
* hardwareSettings.json
2828
- Contains hardware settings. Currently this includes only the LED brightness.
2929
* networkSettings.json
30-
- Contains network settings, including team number, static/dynamic settings, and hostname.
30+
- Contains network settings, including team number (or remote network tables address), static/dynamic settings, and hostname.
3131

3232
Importing and Exporting Settings
3333
--------------------------------

0 commit comments

Comments
 (0)