Robot can not follow the planned path via python

Typically: "How do I... ", "How can I... " questions
Post Reply
Eureka_yiang
Posts: 19
Joined: 20 Jun 2022, 07:05

Robot can not follow the planned path via python

Post by Eureka_yiang »

Hi,
There is a problem when I run the same scene via two ways.
The robot can follow the planned path in temp1.ttt via lua script directly.
And in temp4.ttt, the robot can not follow the planned path via python.
How can I solve this problem?
Please see the scenes here
https://drive.google.com/drive/folders/ ... sp=sharing
Thanks

coppelia
Site Admin
Posts: 10364
Joined: 14 Dec 2012, 00:25

Re: Robot can not follow the planned path via python

Post by coppelia »

Hello,

in your second scene, I do not see any Python code...

Cheers

Eureka_yiang
Posts: 19
Joined: 20 Jun 2022, 07:05

Re: Robot can not follow the planned path via python

Post by Eureka_yiang »

Hi,
I'm sorry I didn't explain my problem clearly.
In 1811_scene_1_temp1.ttt, I use simOMPL to plan path of UR5_1 and make UR5_1 follow the path planned via lua. It can run successfully.
However, my goal is to use pyhton via zmqRemoteApi to control UR5 in scene.
In 1811_scene_1_temp2.ttt, I use 1811_scene_1_main_temp.py to control the UR5_1 in 1811_scene_1_temp2.ttt. And the scene can plan the path, but UR5_1 can not follow the path planned.
Please see the scenes here
https://drive.google.com/drive/folders/ ... sp=sharing
Thanks

coppelia
Site Admin
Posts: 10364
Joined: 14 Dec 2012, 00:25

Re: Robot can not follow the planned path via python

Post by coppelia »

What exactly is happening in your Python script? Is there an error, or is it blocking? Is the called function doing something? Did you try to print some output to see what is going on?

We cannot debug entire systems from users, since that would take too much time and would require us to install all same packages/modules.

Cheers

Post Reply