diff --git a/src/prpy/base/micohand.py b/src/prpy/base/micohand.py index 729f7b4..99b6d24 100644 --- a/src/prpy/base/micohand.py +++ b/src/prpy/base/micohand.py @@ -127,20 +127,7 @@ def CloseHand(self, value=0.8, timeout=None): """ Close the hand. @param timeout blocking execution timeout """ - if self.simulated: - robot = self.manipulator.GetRobot() - p = openravepy.KinBody.SaveParameters - - with robot.CreateRobotStateSaver(p.ActiveDOF | p.ActiveManipulator): - self.manipulator.SetActive() - robot.task_manipulation.CloseFingers() - - if timeout: - robot.WaitForController(timeout) - - return None - else: - return self.MoveHand(f1=value, f2=value, timeout=timeout) + return self.MoveHand(f1=value, f2=value, timeout=timeout) def CloseHandTight(self, value=1.2, timeout=None): """ Close the hand tightly.