From 42a91ca8d7fa0181ab1f93c62df6828a11b55232 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 13 Apr 2022 16:55:03 +0200 Subject: Fixing deprecated attributes access --- src/argaze/utils/live_tobii_aruco_rois.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/argaze/utils/live_tobii_aruco_rois.py b/src/argaze/utils/live_tobii_aruco_rois.py index 028f83e..b32690e 100644 --- a/src/argaze/utils/live_tobii_aruco_rois.py +++ b/src/argaze/utils/live_tobii_aruco_rois.py @@ -97,8 +97,8 @@ def main(): marker_rotation = aruco_tracker.get_marker_rotation(i) marker_translation = aruco_tracker.get_marker_translation(i) - roi3D_scene.set_rotation(marker_rotation) - roi3D_scene.set_translation(marker_translation) + roi3D_scene.rotation = marker_rotation + roi3D_scene.translation = marker_translation # Edit Zero distorsion matrix D0 = numpy.asarray([0.0, 0.0, 0.0, 0.0, 0.0]) -- cgit v1.1