Skip to content

Commit 3e701da

Browse files
committed
Use active DOFs in GreedyIKPlanner.
Fixed another instance of GetDOFResolutions -> GetActiveDOFResolutions.
1 parent deceaae commit 3e701da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/planning/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def PlanWorkspacePath(self, robot, traj, timelimit=5.0,
166166
dt = traj.GetDuration()
167167

168168
# Smallest CSpace step at which to give up
169-
min_step = min(robot.GetDOFResolutions())/100.
169+
min_step = min(robot.GetActiveDOFResolutions())/100.
170170
ik_options = openravepy.IkFilterOptions.CheckEnvCollisions
171171

172172
start_time = time.time()

0 commit comments

Comments
 (0)