aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoCamera.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoCamera.py b/src/argaze/ArUcoMarkers/ArUcoCamera.py
index 251a081..286afa7 100644
--- a/src/argaze/ArUcoMarkers/ArUcoCamera.py
+++ b/src/argaze/ArUcoMarkers/ArUcoCamera.py
@@ -197,8 +197,12 @@ class ArUcoCamera(ArFeatures.ArCamera):
try:
+ # Update layer aoi
self.layers[layer_name].aoi_scene |= layer_projection
+ # Update layer timestamp
+ self.layers[layer_name].timestamp = timestamp
+
except KeyError:
pass
@@ -211,6 +215,9 @@ class ArUcoCamera(ArFeatures.ArCamera):
# Assess projection time in ms
projection_time = (time.perf_counter() - projection_start) * 1e3
+ # Update camera frame timestamp
+ self.timestamp = timestamp
+
# Unlock camera frame exploitation
self.release()