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 29, 2024
1 parent 15688e7 commit fd9f0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axis-ptz-controller/axis_ptz_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ def _track_object(self, time_since_last_update: float) -> None:
math.sin(math.radians(self.object.tau)),
]
)
r_XYZ_a_t = np.matmul(self.camera.get_xyz_to_enz_transformation_matrix.transpose(), r_ENz_a_t)
r_XYZ_a_t = np.matmul(self.camera.get_xyz_to_enz_transformation_matrix().transpose(), r_ENz_a_t)
r_uvw_a_t = np.matmul(self.camera.get_xyz_to_uvw_transformation_matrix, r_XYZ_a_t)

# Compute pan an tilt
Expand Down

0 comments on commit fd9f0ec

Please sign in to comment.