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

Fix python camera naming on getting target data page #342

Merged
merged 1 commit into from
Feb 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading