Skip to content

Commit

Permalink
Merge pull request #488 from 130s/fix/getRefPose_arg2
Browse files Browse the repository at this point in the history
[hironx py] Fix a new bug added in #487.
  • Loading branch information
130s authored Mar 18, 2017
2 parents 9f00b63 + d2d9293 commit 44e11e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _get_geometry(self, method, frame_name=None):
'getCurrentReference', 'getCurrentRPY',
'getReferencePose', 'getReferencePosition',
'getReferenceReference', 'getReferenceRPY']
if method not in _geometry_methods:
if method.__name__ not in _geometry_methods:
raise RuntimeError("Passed method {} is not supported.".format(method))
for kinematic_group in self.Groups:
# The last element is usually an eef in each kinematic group,
Expand Down

0 comments on commit 44e11e2

Please sign in to comment.