Startup
This commit is contained in:
13
script/RobotSC.py
Normal file
13
script/RobotSC.py
Normal 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)
|
||||
Reference in New Issue
Block a user