Script execution

This commit is contained in:
gac-S_Changer
2017-02-27 12:49:25 +01:00
parent 433daf1cbf
commit e23ba25e25

View File

@@ -1,3 +1,5 @@
import traceback
robot.task_create("simulateEvents",3, name = "test", priority = 20)
step = 0
@@ -37,7 +39,7 @@ try:
step = 16
robot.set_move_id(10)
step = 17
robot.get_joint_forces()
#robot.get_joint_forces()
step = 18
#robot.open("gripper")
#robot.close("gripper")
@@ -59,7 +61,7 @@ try:
step = 26
robot.mount(1, 2)
except:
print >> sys.stderr, sys.exc_info()
print >> sys.stderr, traceback.format_exc()
finally:
print "Step: " + str(step)
try: