Force URscript Run

I have a UR16E robot, I want to use script to send Force Copilot to insert an action program, and send it to the robot through port 30002 to control the robot’s work, how do I write a script program?

Hi @mjzhang,

If it is the Force Copilot from Robotiq. The script definition is in the PolyScope programe. I think the easiest way would be to use the GitHub - UniversalRobots/Universal_Robots_ExternalControl_URCap: CB3 and E-Series URCap for the ROS and ROS2 drivers that can then fetch your script from where you prefer.

Ebbe