07-03-2020, 05:30 PM
(This post was last modified: 07-03-2020, 06:39 PM bydanield271.)
(07-02-2020, 07:43 PM)Jeremy Wrote:Hi Daniel,
the top section of the UR RobotiQ post-processor is written in "UR script", not in Python.
Therefore the syntax is correct.
它应该stay in "comment" as this only defines everything there as a string to be copied as the "Header" of the UR script program.
The functions that are not defined should be known by the robot controller.
As I'm reading the part relating to the RobotiQ gripper, in your RDK station you could use a program call with "RQ_2FG_Close" to close the gripper.
Jeremy
Hi Jeremy,
I have already tried to use a program call using the RQ_2FG_Close and RQ_2FG_Open functions but it didn't work. I have checked several forums about this topic and users were not able to make it work either.
The only solution that worked for me was using a python code to read an script file (Image_2) and then send it to the gripper. The script file contains the function definitions for the robotiq gripper (Image2).
It would be good if users can use the header section in the UR robotiq post-processor without having to implement any additional code to get the gripper to move.
Note: I attached image_1 by mistake, couldn't get rid of it.