diff options
author | Théo de la Hogue | 2022-04-13 16:55:03 +0200 |
---|---|---|
committer | Théo de la Hogue | 2022-04-13 16:55:03 +0200 |
commit | 42a91ca8d7fa0181ab1f93c62df6828a11b55232 (patch) | |
tree | 40573b6bd2952f3069fde8b667619f22a0311297 | |
parent | b05ec9e290996c5448209b72380a10ebe5de08e7 (diff) | |
download | argaze-42a91ca8d7fa0181ab1f93c62df6828a11b55232.zip argaze-42a91ca8d7fa0181ab1f93c62df6828a11b55232.tar.gz argaze-42a91ca8d7fa0181ab1f93c62df6828a11b55232.tar.bz2 argaze-42a91ca8d7fa0181ab1f93c62df6828a11b55232.tar.xz |
Fixing deprecated attributes access
-rw-r--r-- | src/argaze/utils/live_tobii_aruco_rois.py | 4 |
1 files 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]) |