Discussion

Left ArrowBack to discussions page
scasey19scasey19 Posts: 3 Apprentice
edited March 20 in Programming

what is the exact programming code to determine if the robotiq gripper has a part or not.

I want the robot to stop if it does not detect a part.

Tagged:

Comments

  • Annick_MottardAnnick_Mottard Posts: 116 Handy
    edited March 16
    @scasey19 you can use the script command "rq_is_object_detected()". It returns True if an object has been picked or False otherwise. 

    All the script functions you can use are found in your instruction manual section 4.8.2. Note that you have some other interesting features described there. For example, you can also get a feedback on the size of the object you have picked.

    Post below if you have more questions!
    Annick Mottard
    Product Expert
    Robotiq
    a.mottard@robotiq.com 
  • scasey19scasey19 Posts: 3 Apprentice
    Thanks for the suggestion, but I tried this and it didn't work, I am picking up a very small part so the gripper is very close to closed even with a part.
  • matthewd92matthewd92 Posts: 403Founding Pro, Tactile Sensor Beta Testers Handy
    @scasey19 There is a minimum size that is required to be detected, how thin is the part you are trying to detect?  Do you need the full opening width of the jaws on your application?
  • scasey19scasey19 Posts: 3 Apprentice
    the distance between closed without part and closed with part is about .020" (.50mm)
  • matthewd92matthewd92 Posts: 403Founding Pro, Tactile Sensor Beta Testers Handy
    The minimum thickness that can be reliably detected is 1.2 mm according to this thread.  If you are opening and closing your gripper all the way each bit in the register results in moving the gripper approximately .39 mm for the 2F85 and 0.65mm for a 2F140. If you could limit the amount the gripper is opening and closing you still get the same number of steps but they would now be a thinner slice, for instance if you limited the gripper to 20mm each bit in the register becomes approximately 0.17mm and may help you to register if you have a part or not, hard to say though without trying it.
Sign In or Register to comment.
Left ArrowBack to discussions page