moveit2_tutorials icon indicating copy to clipboard operation
moveit2_tutorials copied to clipboard

Importing moveit.planning or etc. libraries

Open UgurYakut opened this issue 1 year ago • 4 comments

Description

Hello i want to write a pick and place task, i looked the tutorials python pick and place. How i can find the moveit.planning library or etc. I installed binary Moveit2. I builded my robot and i can plan and execute via Rviz. How can i do with scripts?

Your environment

  • ROS Distro: Humble
  • OS Version:Ubuntu 22.04
  • Binary build

Expected behaviour

Detecting library.

Backtrace or Console output

Traceback (most recent call last): File "/home/u/arm/dev_ws/src/paket/scripts/plan_execute.py", line 2, in from moveit.planning import MoveItPy ModuleNotFoundError: No module named 'moveit'

UgurYakut avatar Apr 05 '24 20:04 UgurYakut

Same issue here. Any updates on this? Best,

tanmayyb avatar Apr 11 '24 03:04 tanmayyb

Same issue here. Any updates on this? Best,

Still same issue,did you find any thing?

UgurYakut avatar Apr 17 '24 06:04 UgurYakut

Same issue,did you solve the problem?

Jens-Yu avatar May 19 '24 21:05 Jens-Yu

@UgurYakut and @Jens-Yu , moveit_py plugins package is needed for scripting in Python. But:

  1. moveit_py package was NOT available at Humble branch [link][link]
  2. moveit2 mainline is not stable [link].

Therefore, I switched from Ubuntu20.04 w/ ROS Humble to Ubuntu22.04 w/ ROS Iron and I was able to use these tutorials. Hope it helps.

tanmayyb avatar May 22 '24 00:05 tanmayyb