Skip to content

Commit

Permalink
Blacken camera module again
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond LeClair committed Jan 17, 2023
1 parent 136cc96 commit 1df035b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion axis-ptz/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1df035b

Please sign in to comment.