pietrolechthaler / UR5-Pick-and-Place-Simulation

Simulate the iteration of a UR5 robot with Lego bricks
https://youtu.be/v45mPw_XEXA
MIT License
107 stars 25 forks source link

spawn lego bricks on the same position more than once, the robot can not work ! #2

Open wanguangxi opened 1 year ago

wanguangxi commented 1 year ago

Hi, pietrolechthaler. I have a new problem, instead to spawn lego random, i fixed the spawn position. for the first time run the following code: rosrun levelManager levelManager.py -l 1 rosrun motion_planning motion_planning.py

the robot can work well.

for the second time, not reboot the gazebo env, i run the same command, the robot can not work well, the terminal shown that
X1-Y2-Z1_1 TO HOME [WARN] [1668246368.632644, 295.206000]: Timeout waiting for position [WARN] [1668246371.880908, 298.445000]: Timeout waiting for position Moving to Default Position [WARN] [1668246374.971821, 301.529000]: Timeout waiting for position

so any help will be grateful!

huddy211 commented 1 year ago

im getting a prompt as waiting for images and the ur5 doesn't move and the terminal is just stuck in waiting for images how did u bypass this problem?

ilileun commented 1 year ago

me too same problem

tonypg39 commented 8 months ago

I had the same issue, for now I'm skipping the visual detection to perform the pick and place directly from the gazebo models information. You can bypass the visual detection by making the line in the main function of motion-plannin.py be: legos = get_legos_pos(vision=False) # instead of True