fix(vive-tracker): _init 方法补充 return True 返回值
This commit is contained in:
parent
6768c03918
commit
1282a073ec
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user