Script execution
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user