def connect(self, ip, port=801, defaults=True): stat = pyvicon.connect(self._c, "{}:{}".format(ip, port)) if stat and defaults: pyvicon.enableSegmentData(self._c) pyvicon.enableMarkerData(self._c) pyvicon.setStreamMode(self._c, self.SM_ClientPull) return stat
def enableMarkerData(self, b=True): if b: return pyvicon.enableMarkerData(self._c) else: return pyvicon.disableMarkerData(self._c)