This commit is contained in:
gac-S_Changer
2017-02-27 10:11:40 +01:00
parent 2cb55f156e
commit a28e53631c

13
script/RobotSC.py Normal file
View File

@@ -0,0 +1,13 @@
run("RobotTCP")
class RobotSC(RobotTCP):
def mount(self, puck, sample):
return self.execute('mount', puck, sample)
def on_event(self,ev):
print "EVT: " + ev
add_device(RobotSC("robot", "129.129.126.100:1000"), force = True)
robot.setPolling(100)
#robot.set_monitor_speed(20)