diff --git a/pyrep/robots/end_effectors/gripper.py b/pyrep/robots/end_effectors/gripper.py index 8cb4c30..c5fa76b 100644 --- a/pyrep/robots/end_effectors/gripper.py +++ b/pyrep/robots/end_effectors/gripper.py @@ -99,7 +99,7 @@ def actuate(self, amount: float, velocity: float) -> bool: joint_intervals = np.array(joint_intervals_list) # Decide on if we need to open or close - joint_range = joint_intervals[:, 1] - joint_intervals[:, 0] + joint_range = joint_intervals[:, 1] target_pos = joint_intervals[:, 0] + (joint_range * amount) current_positions = self.get_joint_positions()