Skip to content

Commit

Permalink
Update axis_ptz_controller.py
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Apr 6, 2024
1 parent 4f95503 commit 9e1d04b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion axis-ptz-controller/axis_ptz_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ def _config_callback(
self.camera.tilt_rate_max = config["tilt_rate_max"]

self.pan_gain = config.get("pan_gain", self.pan_gain) # [1/s]

self.tilt_gain = config.get("tilt_gain", self.tilt_gain) # [1/s]

if "zoom" in config:
self.camera.update_zoom(config["zoom"])
if "focus" in config:
Expand Down

0 comments on commit 9e1d04b

Please sign in to comment.