Skip to content

Commit

Permalink
Increase absolute move speed
Browse files Browse the repository at this point in the history
  • Loading branch information
mchadwick-iqt authored Mar 12, 2024
1 parent 8a70510 commit 58e8ca9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions axis-ptz-controller/axis_ptz_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def __init__(
f"Absolute move to pan: {self.rho_c}, and tilt: {self.tau_c}, with zoom: {self.zoom}"
)
try:
self.camera_control.absolute_move(self.rho_c, self.tau_c, self.zoom, 50)
self.camera_control.absolute_move(self.rho_c, self.tau_c, self.zoom, 99)
except Exception as e:
logging.error(f"Error: {e}")
else:
Expand All @@ -390,7 +390,7 @@ def __init__(
)
try:
self.camera_control.absolute_move(
self.rho_c, self.tau_c, self.zoom, 50, self.focus
self.rho_c, self.tau_c, self.zoom, 99, self.focus
)
except Exception as e:
logging.error(f"Error: {e}")
Expand Down Expand Up @@ -798,7 +798,7 @@ def _object_callback(
)
try:
self.camera_control.absolute_move(
self.rho_o, self.tau_o, self.zoom, 50
self.rho_o, self.tau_o, self.zoom, 99
)
except Exception as e:
logging.error(f"Error: {e}")
Expand All @@ -808,7 +808,7 @@ def _object_callback(
)
try:
self.camera_control.absolute_move(
self.rho_o, self.tau_o, self.zoom, 50, self.focus
self.rho_o, self.tau_o, self.zoom, 99, self.focus
)
except Exception as e:
logging.error(f"Error: {e}")
Expand Down Expand Up @@ -1002,7 +1002,7 @@ def _manual_control_callback(self, _client: Union[mqtt.Client, None],

try:
self.camera_control.absolute_move(
camera_pan, camera_tilt, self.zoom, 50
camera_pan, camera_tilt, self.zoom, 99
)
except Exception as e:
logging.error(f"Error: {e}")
Expand Down

0 comments on commit 58e8ca9

Please sign in to comment.