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 27, 2016
1 parent 8b40497 commit f4fbb99
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 f4fbb99

Please sign in to comment.