Skip to content

Commit adc378e

Browse files
committed
[test] Fix local var referenced before assignment issue (see https://travis-ci.org/start-jsk/rtmros_hironx/jobs/167215999#L7552).
1 parent a40acc2 commit adc378e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hironx_ros_bridge/test/test_hironx_target.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def print_pose(msg, pose):
174174
self.robot.goInitial()
175175

176176
posel1 = self.robot.getCurrentPose('LARM_JOINT5')
177+
posel2 = None
177178
try:
178179
posel2 = self.robot.getCurrentPose('LARM_JOINT5', 'WAIST')
179180
except RuntimeError as e:

0 commit comments

Comments
 (0)