From 875a02c819d6356b500afc8ddfdaf78ed9ccf464 Mon Sep 17 00:00:00 2001 From: "Isaac I.Y. Saito" <130s@2000.jukuin.keio.ac.jp> Date: Sat, 15 Oct 2016 11:39:19 +0900 Subject: [PATCH] [test] Fix local var referenced before assignment issue (see https://travis-ci.org/start-jsk/rtmros_hironx/jobs/167215999#L7552). --- hironx_ros_bridge/test/test_hironx_target.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hironx_ros_bridge/test/test_hironx_target.py b/hironx_ros_bridge/test/test_hironx_target.py index 9f5117f9..9f43cdcc 100755 --- a/hironx_ros_bridge/test/test_hironx_target.py +++ b/hironx_ros_bridge/test/test_hironx_target.py @@ -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: