Skip to content

Commit

Permalink
[test] Fix local var referenced before assignment issue (see https://…
Browse files Browse the repository at this point in the history
  • Loading branch information
130s committed Oct 15, 2016
1 parent b78d673 commit 875a02c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hironx_ros_bridge/test/test_hironx_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def print_pose(msg, pose):
self.robot.goInitial()

posel1 = self.robot.getCurrentPose('LARM_JOINT5')
posel2 = None
try:
posel2 = self.robot.getCurrentPose('LARM_JOINT5', 'WAIST')
except RuntimeError as e:
Expand Down

0 comments on commit 875a02c

Please sign in to comment.