15 lines
324 B
Python
15 lines
324 B
Python
run("RobotTCP")
|
|
|
|
class RobotSC(RobotTCP):
|
|
def mount(self, puck, sample):
|
|
return self.execute('mount', puck, sample)
|
|
|
|
def on_event(self,ev):
|
|
#print "EVT: " + ev
|
|
pass
|
|
|
|
|
|
add_device(RobotSC("robot", "129.129.126.100:1000"), force = True)
|
|
robot.setPolling(100)
|
|
#robot.set_monitor_speed(20)
|