Skip to content

Commit

Permalink
Merge pull request #183 from personalrobotics/bugfix/182
Browse files Browse the repository at this point in the history
Fixed _PlanWrapper on Manipulator to default to execute=false.
  • Loading branch information
mkoval committed Sep 17, 2015
2 parents bc3c2d6 + b64c86d commit ba63c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prpy/base/manipulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _PlanWrapper(self, planning_method, args, kw_args):
traj = CopyTrajectory(cloned_traj, env=robot.GetEnv())

# Optionally execute the trajectory.
if 'execute' not in kw_args or kw_args['execute']:
if kw_args.get('execute', False):
return self.GetRobot().ExecutePath(traj, **kw_args)
else:
return traj

0 comments on commit ba63c6f

Please sign in to comment.