예제 #1
0
 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
예제 #2
0
 def enableMarkerData(self, b=True):
     if b: return pyvicon.enableMarkerData(self._c)
     else: return pyvicon.disableMarkerData(self._c)