Skip to content

Commit 428c3f2

Browse files
authored
Merge pull request #184 from utn-mi/gama/hand_grasp
fix grasp mechanism after refactoring
2 parents 3281990 + 34d79e9 commit 428c3f2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python/rcs/hand/tilburg_hand.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def set_zero_pos(self):
7777
"""
7878
Sets all finger joint positions to zero.
7979
"""
80-
self._motors.goto_zero_position()
80+
pos_normalized = 0 * self.MAX_GRASP_JOINTS_VALS
81+
self._motors.set_pos_vector(pos_normalized, unit=self._cfg.control_unit)
8182
logger.info("All joints reset to zero position.")
8283

8384
def set_joint_pos(self, finger_joint: Finger, pos_value: float):

0 commit comments

Comments
 (0)