From 1df035b26b2bace0c36333eb1e3b502c91410658 Mon Sep 17 00:00:00 2001 From: Raymond LeClair Date: Tue, 17 Jan 2023 15:10:40 -0500 Subject: [PATCH] Blacken camera module again --- axis-ptz/camera.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/axis-ptz/camera.py b/axis-ptz/camera.py index 3746952..5dfa1c5 100755 --- a/axis-ptz/camera.py +++ b/axis-ptz/camera.py @@ -549,7 +549,17 @@ def moveCamera(ip, username, password): logging.info(" 🚨 Active but Current Plane is not set") continue if moveTimeout <= datetime.now(): - calculateCameraPositionB(r_XYZ_t, E_XYZ_to_ENz, e_E_XYZ, e_N_XYZ, e_z_XYZ, alpha, beta, gamma, E_XYZ_to_uvw) + calculateCameraPositionB( + r_XYZ_t, + E_XYZ_to_ENz, + e_E_XYZ, + e_N_XYZ, + e_z_XYZ, + alpha, + beta, + gamma, + E_XYZ_to_uvw, + ) camera.absolute_move(cameraPan, cameraTilt, cameraZoom, cameraMoveSpeed) # logging.info("Moving to Pan: {} Tilt: {}".format(cameraPan, cameraTilt)) moveTimeout = moveTimeout + timedelta(milliseconds=movePeriod)