Skip to content

Commit 883b0a0

Browse files
author
Michael Koval
committed
Merge branch 'master' into feature/MICORefactor
Conflicts: src/prpy/planning/cbirrt.py
2 parents fc67307 + b2d2ca2 commit 883b0a0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/prpy/planning/cbirrt.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ def PlanToEndEffectorPose(self, robot, goal_pose, **kw_args):
7676
@param psample probability of sampling a goal
7777
@return traj output path
7878
"""
79-
#from IPython import embed
80-
#embed()
81-
self.ClearIkSolver(robot.GetActiveManipulator())
82-
8379
manipulator_index = robot.GetActiveManipulatorIndex()
8480
goal_tsr = prpy.tsr.tsr.TSR(T0_w=goal_pose, manip=manipulator_index)
8581
tsr_chain = prpy.tsr.tsr.TSRChain(sample_goal=True, TSR=goal_tsr)
@@ -98,8 +94,6 @@ def PlanToEndEffectorOffset(self, robot, direction, distance,
9894
@param smoothingitrs number of smoothing iterations to run
9995
@return traj output path
10096
"""
101-
self.ClearIkSolver(robot.GetActiveManipulator())
102-
10397
direction = numpy.array(direction, dtype=float)
10498

10599
if direction.shape != (3,):
@@ -188,6 +182,10 @@ def Plan(self, robot, smoothingitrs=None, timelimit=None, allowlimadj=0,
188182
extra_args=None, **kw_args):
189183
from openravepy import CollisionOptions, CollisionOptionsStateSaver
190184

185+
# TODO We may need this work-around because CBiRRT doesn't like it when
186+
# an IK solver other than GeneralIK is loaded (e.g. nlopt_ik).
187+
#self.ClearIkSolver(robot.GetActiveManipulator())
188+
191189
self.env.LoadProblem(self.problem, robot.GetName())
192190

193191
args = [ 'RunCBiRRT' ]

0 commit comments

Comments
 (0)