Startup
This commit is contained in:
13
script/RobotMX.py
Normal file
13
script/RobotMX.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from RobotTCP import *
|
||||
|
||||
class RobotMX(RobotTCP):
|
||||
def mount(self, puck, sample):
|
||||
return self.execute('mount', puck, sample)
|
||||
|
||||
def on_event(self,ev):
|
||||
print "EVT: " + ev
|
||||
|
||||
|
||||
add_device(RobotTCP("robot_tcp", "129.129.126.100:1000"), force = True)
|
||||
robot_tcp.setPolling(100)
|
||||
#robot_tcp.set_monitor_speed(20)
|
||||
Reference in New Issue
Block a user