From e23ba25e256260f0155f90c321a787523804ab1a Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Mon, 27 Feb 2017 12:49:25 +0100 Subject: [PATCH] Script execution --- script/test/TestRobot2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/test/TestRobot2.py b/script/test/TestRobot2.py index abcfe68..65c1e7b 100644 --- a/script/test/TestRobot2.py +++ b/script/test/TestRobot2.py @@ -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: