aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-01-11 10:53:55 +0100
committerThéo de la Hogue2023-01-11 10:53:55 +0100
commita92df5517e6f90471196a259b2fbe517b02d6144 (patch)
treecde29199ba5441f1a8eb9b851df2fc5ba2d991bd /src
parent2825f20e49d416a8edbf582812978cc708b92d48 (diff)
downloadargaze-a92df5517e6f90471196a259b2fbe517b02d6144.zip
argaze-a92df5517e6f90471196a259b2fbe517b02d6144.tar.gz
argaze-a92df5517e6f90471196a259b2fbe517b02d6144.tar.bz2
argaze-a92df5517e6f90471196a259b2fbe517b02d6144.tar.xz
Removing useless condition. Printing places translation and rotation.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoScene.py9
1 files changed, 6 insertions, 3 deletions
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