Telling an empty gripper stroke from a real pickup
The Robotiq 2F manual keeps reaching the requested position and detecting an object while closing as two separate states; do not merge them into one done flag.

How to check it on site
Run one empty cycle in the fixture, then repeat with a representative part, saving requested position, actual position and object status in both, and accept only the combination that was validated.
ZHILIANHAI




