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

Commit 9f5154a

Browse files
authored
Banner addition, sidebar image change, networking trouble shooting (#258)
* Banner, sidebar, networking * lint * static ip
1 parent 7774b42 commit 9f5154a

File tree

11 files changed

+66
-14
lines changed

11 files changed

+66
-14
lines changed
55.8 KB
Loading
55.9 KB
Loading

source/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ def setup(app):
7777

7878
html_theme_options = {
7979
"sidebar_hide_name": True,
80-
"light_logo": "assets/RoundLogoLight.png",
81-
"dark_logo": "assets/RoundLogo.png",
80+
"light_logo": "assets/PhotonVision-Header-onWhite.png",
81+
"dark_logo": "assets/PhotonVision-Header-noBG.png",
82+
"announcement": "If you are new to PhotonVision, click <a href=https://docs.photonvision.org/en/latest/docs/getting-started/installation/index.html>here!</a>.",
8283

8384
"light_css_variables": {
8485
"font-stack": '-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;',

source/docs/getting-started/installation/index.rst

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
Getting Started
22
===============
33

4-
Wiring
5-
-------
4+
This page will help you install PhotonVision on your coprocessor, wire it, and properly setup the networking in order to start tracking targets.
65

7-
.. toctree::
8-
:maxdepth: 1
96

10-
wiring
7+
Step 1: Software Install
8+
------------------------
9+
10+
This section will walk you through how to install PhotonVision on your coprcoessor. Your coprocessor is the device that has the camera and you are using to detect targets (ex. if you are using a Limelight / Raspberry Pi, that is your coprocessor and you should follow those instructions).
1111

12-
Software Install
13-
----------------
12+
.. warning:: You only need to install PhotonVision on the coprocessor/device that is being used to detect targets, you do NOT need to install it on the device you use to view the webdashboard. All you need to view the webdashboard is for a device to be on the same network as your vision coprocessor and an internet browser.
1413

1514
.. toctree::
1615
:maxdepth: 3
1716

1817
sw_install/index
1918

2019

21-
Networking
22-
----------
20+
Step 2: Wiring
21+
--------------
22+
23+
This section will walk you through how to wire your coprocessor to get power.
24+
25+
.. toctree::
26+
:maxdepth: 1
27+
28+
wiring
29+
30+
31+
Step 3: Networking
32+
------------------
33+
34+
This section will walk you though how to connect your coprocessor to a network. This section is very important (and easy to get wrong), so we reccomend you read it throughly.
35+
2336
.. toctree::
2437
:maxdepth: 1
2538

source/docs/getting-started/installation/networking.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@ Networking
33

44
Physical Networking
55
-------------------
6-
.. note:: When using PhotonVision off robot, try to plug the coprocessor into a physical router if you can. Windows and other OS are known to be buggy networking wise when a coprocessor is directly plugged in.
6+
.. note:: When using PhotonVision off robot, you *MUST* plug the coprocessor into a physical router/radio. You can then connect your laptop/device used to view the webdashboard to the same network. Any other networking setup will not work and will not be supported in any capacity.
7+
8+
After imaging your coprocessor, run an ethernet cable from your coprocessor to a router/radio and power on your coprocessor by plugging it into the wall. Then connect whatever device you're using to view the webdashboard to the same network and navigate to photonvision.local:5800.
79

810
PhotonVision *STRONGLY* recommends the usage of a network switch on your robot. This is because the second radio port on the current FRC radios is known to be buggy and cause frequent connection issues that are detrimental during competition. More information can be found in this `ChiefDelphi thread <https://www.chiefdelphi.com/t/why-you-probably-shouldnt-use-the-second-port-on-your-openmesh-om5p-radio-and-embrace-using-an-ethernet-switch-instead/406374>`_ and an in-depth guide on how to install a network switch can be found `on FRC 900's website <https://team900.org/blog/ZebraSwitch/>`_.
911

12+
13+
1014
Digital Networking
1115
------------------
1216
PhotonVision *STRONGLY* recommends the usage of Static IPs as it increases reliability on the field and when using PhotonVision in general. To properly set up your static IP, follow the steps below:
1317

18+
.. warning:: Only use a static IP when connected to the robot radio, unless you are well versed in networking or have the relevant "know how".
19+
1420
1. Ensure your robot is on and you are connected to the robot network.
1521
2. Navigate to ``photonvision.local:5800`` (this may be different if you are using a Gloworm / Limelight) in your browser.
1622
3. Open the settings tab on the left pane.

source/docs/getting-started/installation/sw_install/linux-pc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Linux PC Installation
22
=====================
33
PhotonVision may be run on a Debian-based Linux Desktop PC for basic testing and evaluation.
44

5+
.. note:: You do not need to install PhotonVision on a Windows PC in order to access the webdashboard (assuming you are using an external coprocessor like a Raspberry Pi).
6+
57
Installing Java
68
---------------
79
PhotonVision requires a JDK installed and on the system path. JDK 11 is needed (different versions will not work). If you don't have JDK 11 already, run the following to install it:

source/docs/getting-started/installation/sw_install/mac-os.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Mac OS Installation
33

44
.. warning:: Due to current `cscore <https://github.com/wpilibsuite/allwpilib/tree/main/cscore>`_ restrictions, the PhotonVision server backend may have issues running macOS.
55

6+
.. note:: You do not need to install PhotonVision on a Windows PC in order to access the webdashboard (assuming you are using an external coprocessor like a Raspberry Pi).
7+
68
VERY Limited macOS support is available.
79

810
Installing Java

source/docs/getting-started/installation/sw_install/windows-pc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Windows PC Installation
22
=======================
33
PhotonVision may be run on a Windows Desktop PC for basic testing and evaluation.
44

5+
.. note:: You do not need to install PhotonVision on a Windows PC in order to access the webdashboard (assuming you are using an external coprocessor like a Raspberry Pi).
6+
57
Install Bonjour
68
---------------
79
Bonjour provides more stable networking when using Windows PCs. Install `Bonjour here <https://support.apple.com/downloads/DL999/en_US/BonjourPSSetup.exe>`_ before continuing to ensure a stable experience while using PhotonVision.

source/docs/getting-started/installation/wiring.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Wiring
55
Off-Robot Wiring
66
----------------
77

8-
After imaging your coprocessor, run an ethernet cable from your coprocessor to your computer/router (router is recommended) and power on your coprocessor by plugging it into the wall.
8+
Plugging your coprocessor into the wall via a power brick will suffice for off robot wiring.
99

10-
.. note:: When using PhotonVision off robot, try to plug the coprocessor into a physical router if you can. Windows and other OS are known to be buggy networking wise when a coprocessor is directly plugged in.
10+
.. note:: Please make sure your chosen power supply can provide enough power for your coprocessor. Undervolting (where enough power isn't being supplied) can cause many issues.
1111

1212

1313
On-Robot Wiring

source/docs/troubleshooting/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Troubleshooting
77
common-errors
88
logging
99
camera-troubleshooting
10+
networking-troubleshooting

0 commit comments

Comments
 (0)