From 749d25d2ce29b847936837c4cc2ebf6c56d5816d Mon Sep 17 00:00:00 2001 From: Renan Date: Fri, 22 Oct 2021 15:55:35 +0300 Subject: [PATCH] Cleaning the comments --- invesalius/data/bases.py | 1 - invesalius/data/elfin_processing.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/invesalius/data/bases.py b/invesalius/data/bases.py index 930a1b7..f982319 100644 --- a/invesalius/data/bases.py +++ b/invesalius/data/bases.py @@ -284,7 +284,6 @@ class transform_tracker_to_robot(object): ) M_tracker_in_robot = transform_tracker_to_robot.M_tracker_to_robot @ M_tracker - # TODO: check this with robot translation, angles_as_deg = dco.transformation_matrix_to_coordinates(M_tracker_in_robot, axes='rzyx') tracker_in_robot = list(translation) + list(angles_as_deg) diff --git a/invesalius/data/elfin_processing.py b/invesalius/data/elfin_processing.py index 4fb6a02..096b036 100644 --- a/invesalius/data/elfin_processing.py +++ b/invesalius/data/elfin_processing.py @@ -175,7 +175,7 @@ class TrackerProcessing: axes='rzyx', ) m_robot_new = M_current_head @ m_change_robot_to_head - #TODO: check this with robot + translation, angles_as_deg = dco.transformation_matrix_to_coordinates(m_robot_new, axes='sxyz') new_robot_position = list(translation) + list(angles_as_deg) -- libgit2 0.21.2