Skip to content

Commit 1616d6a

Browse files
committed
Add position detector
1 parent 98e8fc4 commit 1616d6a

File tree

1 file changed

+6
-0
lines changed
  • robot_skills/src/robot_skills/arm

1 file changed

+6
-0
lines changed

robot_skills/src/robot_skills/arm/arms.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ def handover_detector(self):
155155
self._test_die(hasattr(self._arm, 'handover_detector'), "This arm does not have a handover_detector")
156156
return self._arm.handover_detector
157157

158+
@property
159+
def gripper_position_detector(self):
160+
self._test_die(hasattr(self._arm, 'gripper_position_detector'),
161+
"This arm does not have a gripper_position_detector")
162+
return self._arm.gripper_position_detector
163+
158164
def has_gripper_type(self, gripper_type=None):
159165
"""
160166
Query whether the arm has the provided specific type of gripper.

0 commit comments

Comments
 (0)