Ejemplo n.º 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
Ejemplo n.º 2
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
Ejemplo n.º 3
0
 def enableSegmentData(self, b=True):
     if b: return pyvicon.enableSegmentData(self._c)
     else: return pyvicon.disableSegmentData(self._c)
Ejemplo n.º 4
0
 def enableSegmentData(self, b=True):
     if b: return pyvicon.enableSegmentData(self._c)
     else: return pyvicon.disableSegmentData(self._c)