From 79cc42a09301413a453bb9735889fcce338d9907 Mon Sep 17 00:00:00 2001 From: DeltaDizzy Date: Sun, 11 Feb 2024 03:27:29 -0600 Subject: [PATCH] python camera name (#342) --- source/docs/programming/photonlib/getting-target-data.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/docs/programming/photonlib/getting-target-data.rst b/source/docs/programming/photonlib/getting-target-data.rst index 5beb977..1e9ddc6 100644 --- a/source/docs/programming/photonlib/getting-target-data.rst +++ b/source/docs/programming/photonlib/getting-target-data.rst @@ -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.