Skip to content

Commit

Permalink
Add minimum_position to GripperPositionDetector in mockbot
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoDCC committed Oct 16, 2022
1 parent 04472d9 commit b18248a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions robot_skills/src/robot_skills/mockbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def __init__(self, robot_name, tf_buffer, *args, **kwargs):
class GripperPositionDetector(MockedRobotPart):
def __init__(self, robot_name, tf_buffer, *args, **kwargs):
super(GripperPositionDetector, self).__init__(robot_name, tf_buffer)
self.minimum_position = -0.75
self.detect = AlteredMagicMock(return_value=0.0)


Expand Down

0 comments on commit b18248a

Please sign in to comment.