From 94ffce9e8a4ad0d98285bb8a74c8309ade039594 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 22 Mar 2024 11:12:26 -0400 Subject: [PATCH] Address review --- .../src/main/java/org/photonvision/PhotonCamera.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/photon-lib/src/main/java/org/photonvision/PhotonCamera.java b/photon-lib/src/main/java/org/photonvision/PhotonCamera.java index 5b1b6b2428..4b21e63f34 100644 --- a/photon-lib/src/main/java/org/photonvision/PhotonCamera.java +++ b/photon-lib/src/main/java/org/photonvision/PhotonCamera.java @@ -75,7 +75,7 @@ public class PhotonCamera implements AutoCloseable { IntegerSubscriber heartbeatEntry; DoubleArraySubscriber cameraIntrinsicsSubscriber; DoubleArraySubscriber cameraDistortionSubscriber; - MultiSubscriber m_topicNameSubscriber; + MultiSubscriber topicNameSubscriber; NetworkTable rootPhotonTable; @Override @@ -100,7 +100,7 @@ public void close() { pipelineIndexRequest.close(); cameraIntrinsicsSubscriber.close(); cameraDistortionSubscriber.close(); - m_topicNameSubscriber.close(); + topicNameSubscriber.close(); } private final String path; @@ -156,7 +156,7 @@ public PhotonCamera(NetworkTableInstance instance, String cameraName) { versionEntry = rootPhotonTable.getStringTopic("version").subscribe(""); // Existing is enough to make this multisubscriber do its thing - m_topicNameSubscriber = + topicNameSubscriber = new MultiSubscriber( instance, new String[] {"/photonvision/"}, @@ -373,8 +373,8 @@ private void verifyVersion() { } DriverStation.reportError( - "Found the following PhotonVision cameras active on NetworkTables:\n" - + String.join("\n", cameraNameStr), + "Found the following PhotonVision cameras on NetworkTables:\n" + + cameraNameStr.toString(), false); } }