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

Commit

Permalink
python camera name (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaDizzy authored Feb 11, 2024
1 parent 683efdf commit 79cc42a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/docs/programming/photonlib/getting-target-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ The ``PhotonCamera`` class has two constructors: one that takes a ``NetworkTable

.. code-block:: python
# Change this to match the name of your camera
self.camera = PhotonCamera("photonvision")
# Change this to match the name of your camera as shown in the web ui
self.camera = PhotonCamera("your_camera_name_here")
.. warning:: Teams must have unique names for all of their cameras regardless of which coprocessor they are attached to.
Expand Down

0 comments on commit 79cc42a

Please sign in to comment.