From a92df5517e6f90471196a259b2fbe517b02d6144 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 11 Jan 2023 10:53:55 +0100 Subject: Removing useless condition. Printing places translation and rotation. --- src/argaze/ArUcoMarkers/ArUcoScene.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/argaze/ArUcoMarkers/ArUcoScene.py b/src/argaze/ArUcoMarkers/ArUcoScene.py index 3ea4b43..552463d 100644 --- a/src/argaze/ArUcoMarkers/ArUcoScene.py +++ b/src/argaze/ArUcoMarkers/ArUcoScene.py @@ -152,6 +152,12 @@ class ArUcoScene(): output = f'\n\n\tDictionary: {self.__dictionary.name}' + output += '\n\n\tPlaces:' + for name, place in self.__places.items(): + output += f'\n\t\t- {name}:' + output += f'\n{place.translation}' + output += f'\n{place.rotation}' + output += '\n\n\tIdentifier cache:' for i, name in self.__identifier_cache.items(): output += f'\n\t\t- {i}: {name}' @@ -513,9 +519,6 @@ class ArUcoScene(): for name, place in self.__places.items(): - if name != "top": - continue - T = self.__places[name].translation R = self.__places[name].rotation -- cgit v1.1