From 8af344644ca3a45befe9c418d6da705e9b2cdd3d Mon Sep 17 00:00:00 2001 From: HanaeRateau Date: Wed, 1 Apr 2026 10:29:09 +0200 Subject: [PATCH] Fixes issue #34. Update tracking property of DepthCamera --- emioapi/_depthcamera.py | 2 +- emioapi/emiocamera.py | 1 + emioapi/emiomotors.py | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/emioapi/_depthcamera.py b/emioapi/_depthcamera.py index 9434f83..601269c 100644 --- a/emioapi/_depthcamera.py +++ b/emioapi/_depthcamera.py @@ -66,7 +66,7 @@ class DepthCamera: compute_point_cloud = False position_estimator: PositionEstimation = None parameter = {} - tracking = True + tracking = False trackers_pos = [] maskWindow = None frameWindow = None diff --git a/emioapi/emiocamera.py b/emioapi/emiocamera.py index 4486a62..cf916c5 100644 --- a/emioapi/emiocamera.py +++ b/emioapi/emiocamera.py @@ -159,6 +159,7 @@ def track_markers(self, value: bool): value: bool: The new tracking status. """ self._tracking = value + self._camera.tracking = self._tracking @property def compute_point_cloud(self) -> bool: diff --git a/emioapi/emiomotors.py b/emioapi/emiomotors.py index d6c3b52..6077e0c 100644 --- a/emioapi/emiomotors.py +++ b/emioapi/emiomotors.py @@ -55,8 +55,6 @@ class EmioMotors: ###### METHODS ###### ##################### - - def __init__(self): self._lock = Lock() if not self._initialized: