11-27-2023, 03:17 PM
Hello everyone,
I am trying to develop a custom app through Python API. I am working online with a UR10e robot and Robotiq AirPick Vacuum Gripper. In the RoboDK UI I have created a custom code called AttachRobot and selected the InsertCode option.
My code is:
When I click "Send program to Robot" it works ok. The gripper pulls air through suction cups.
I want to incoorporate this command in my Python API script.
I tried using
but when the program reaches this line nothing happens on the robot.
Does anyone have any idea how can I use RobotiQ AirPick through Python API?
Toni
I am trying to develop a custom app through Python API. I am working online with a UR10e robot and Robotiq AirPick Vacuum Gripper. In the RoboDK UI I have created a custom code called AttachRobot and selected the InsertCode option.
My code is:
Code:
rq_vacuum_grip()
I want to incoorporate this command in my Python API script.
I tried using
Code:
robot.RunInstruction('rq_vacuum_grip()', run_type=1)
but when the program reaches this line nothing happens on the robot.
Does anyone have any idea how can I use RobotiQ AirPick through Python API?
Toni