fix(vive-tracker): _init 方法补充 return True 返回值

This commit is contained in:
Vinman 2026-06-22 15:23:04 +08:00
parent 6768c03918
commit 1282a073ec

View File

@ -132,6 +132,7 @@ class ViveTracker(metaclass=SingletonMeta):
self._collector_thread = threading.Thread(target=self._pose_collector) self._collector_thread = threading.Thread(target=self._pose_collector)
self._collector_thread.daemon = True self._collector_thread.daemon = True
self._collector_thread.start() self._collector_thread.start()
return True
except Exception as e: except Exception as e:
logger.error(f"Error connecting to Vive Tracker: {e}") logger.error(f"Error connecting to Vive Tracker: {e}")
self.running = False self.running = False