Skip to content

Commit fbc9576

Browse files
committed
Update axis_ptz_controller.py
1 parent c436be0 commit fbc9576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axis-ptz-controller/axis_ptz_controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ def _track_object(self, time_since_last_update: float) -> None:
693693
if object_tau_derivative > self.tilt_derivative_gain_max:
694694
object_tau_derivative = self.tilt_derivative_gain_max
695695

696-
self.rho_c_gain = self.pan_gain * self.delta_rho * object_rho_derivative
697-
self.tau_c_gain = self.tilt_gain * self.delta_tau * object_tau_derivative
696+
self.rho_c_gain = self.pan_gain * self.delta_rho
697+
self.tau_c_gain = self.tilt_gain * self.delta_tau
698698

699699
# Compute position and velocity in the camera fixed (rst)
700700
# coordinate system of the object relative to the tripod at

0 commit comments

Comments
 (0)