Closed PetervDooren closed 1 year ago
That subset is all objects that are not paper thin. Which includes at least all objects used in serve breakfast. I tested it with a spoon and bowl
There was no tuning done in this PR. it just uses the grasp detector. Grasp detector is tuned for how accurate it can detect things. No need to add a comment here.
There is no comment either in the challenge or the ActiveGraspDetector about which the dimensions is works on. It is only mentioned when the object is too thin/small it doesn't work. No clue about what that threshold is.\
Docstring of ActiveGraspDetector states anything wider than the threshold (0.075 rad on the gripper) can be detected. You can say this is not clear enough but that is not an issue for this PR
State for detecting whether the robot is holding something using the gripper position.
Stores current position of the hand motor joint, slightly closes the gripper and then compares the new
position with the first one. If the difference is bigger than the threshold, robot is holding something
If the object is too small/thin it will not be able to determine
:param robot: Robot to execute the state with
:param arm_designator: designator that resolves to arm to check
:param threshold_difference: Difference between base and final position
:param minimum_position: Minimum position to assume that the gripper is holding something
:param max_torque: Max torque of the gripper to perform the test with
Merge after #1326 Fixes one of the issues in #1325