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: