moveit / moveit2_tutorials

A sphinx-based centralized documentation repo for MoveIt 2
https://moveit.picknik.ai
BSD 3-Clause "New" or "Revised" License
163 stars 196 forks source link

Importing moveit.planning or etc. libraries #891

Open UgurYakut opened 7 months ago

UgurYakut commented 7 months ago

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

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'

tanmayyb commented 7 months ago

Same issue here. Any updates on this? Best,

UgurYakut commented 7 months ago

Same issue here. Any updates on this? Best,

Still same issue,did you find any thing?

Jens-Yu commented 6 months ago

Same issue,did you solve the problem?

tanmayyb commented 6 months ago

@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.