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