Skip to content

Commit

Permalink
Add description attribute minimum_position
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoDCC committed Oct 16, 2022
1 parent 9ccd58e commit 04472d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, robot_name: str, tf_buffer: str, joint_topic: str, minimum_po
:param robot_name: Name of the robot
:param tf_buffer: tf2_ros.Buffer for use in RobotPart
:param joint_topic: Topic to use for measurement
:param min_position: Range value from -1.0 (gripper fully opened) to 1.0 (closed fully closed)
:param minimum_position: Value currently set in -0.75 in hero.py
"""

super(GripperPositionDetector, self).__init__(robot_name=robot_name, tf_buffer=tf_buffer)
Expand All @@ -27,6 +27,7 @@ def __init__(self, robot_name: str, tf_buffer: str, joint_topic: str, minimum_po
self.start_time = None
self.minimum_position = minimum_position


def _joint_callback(self, msg: JointState) -> None:
"""
Will be executed every time a new message is received.
Expand Down

0 comments on commit 04472d9

Please sign in to comment.