28 lines
882 B
Python
Executable File
28 lines
882 B
Python
Executable File
tutorial_path = "src/main/assembly/help/Tutorial_py/"
|
|
run(tutorial_path+"SimulatedDevices")
|
|
|
|
m1.setSpeed(10)
|
|
m2.setSpeed(10)
|
|
|
|
start=10.0
|
|
end=50.0
|
|
step=40
|
|
|
|
|
|
for d in os.listdir(tutorial_path):
|
|
p = tutorial_path + d
|
|
if os.path.isdir(p):
|
|
print p
|
|
for f in os.listdir(p):
|
|
try:
|
|
script = p + "/" + f
|
|
print "\n----------------------------------------------------------------------------------------------------"
|
|
print "Running " + script
|
|
print "----------------------------------------------------------------------------------------------------"
|
|
set_status("Running: " + script)
|
|
run(script)
|
|
print get_exec_pars().index, get_exec_pars().group
|
|
except:
|
|
print >> sys.stderr, sys.exc_info()[0]
|
|
|
|
|