Skip to content

Commit c919e0f

Browse files
author
DavidB-CMU
committed
Fix for IsTrajectory...TranslationDirection5D()
1 parent 8951ec9 commit c919e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ def IsTrajectoryTypeIkParameterizationTranslationDirection5D(traj):
11031103
"""
11041104
try:
11051105
IKP_type = openravepy.IkParameterizationType.TranslationDirection5D
1106-
group_name = "ikparam_values {0}".format(IKP_type)
1106+
group_name = "ikparam_values {0}".format(int(IKP_type))
11071107
if traj.GetConfigurationSpecification().GetGroupFromName(group_name):
11081108
return True
11091109
except openravepy.openrave_exception:

0 commit comments

Comments
 (0)