From 1fb6b85014f0b7f949690752c6e657673a5756d1 Mon Sep 17 00:00:00 2001 From: Shunichi Nozawa Date: Wed, 31 Dec 2014 18:53:31 +0900 Subject: [PATCH] Fix typo in setTargetPose (getTargetPose->setTargetPose) --- hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py b/hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py index 059543ef..081da663 100644 --- a/hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py +++ b/hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py @@ -758,8 +758,8 @@ def getReferenceRPY(self, lname, frame_name='WAIST'): def setTargetPose(self, gname, pos, rpy, tm, frame_name='WAIST'): if self.hrpsys_version <= '315.2.4': - print "\033[33m getTargetPose({}, {}, {}, {}, {}) is not supported on {}\033[0m".format(gname, pos, rpy, tm, frame_name, self.hrpsys_version) - return HrpsysConfigurator.getTargetPose(self, gname, pos, rpy, tm) + print "\033[33m setTargetPose({}, {}, {}, {}, {}) is not supported on {}\033[0m".format(gname, pos, rpy, tm, frame_name, self.hrpsys_version) + return HrpsysConfigurator.setTargetPose(self, gname, pos, rpy, tm) else: return HrpsysConfigurator.setTargetPose(self, gname, pos, rpy, tm, frame_name)