Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

motion_planning_python_api AND moveit_py error #1006

Open
junjunkiki opened this issue Jan 14, 2025 · 3 comments
Open

motion_planning_python_api AND moveit_py error #1006

junjunkiki opened this issue Jan 14, 2025 · 3 comments

Comments

@junjunkiki
Copy link

junjunkiki commented Jan 14, 2025

https://moveit.picknik.ai/main/doc/examples/motion_planning_python_api/motion_planning_python_api_tutorial.html

I'm following the tutorial in this link. When I first git clone moveit2, all files should be replicated, but when I see the actual file, there's no motion_planning_python_api_tutorial. Additionally, there's no moveit_py inside packgae.xml. So I can't proceed with the api tutorial. What's the problem?
++ Additionally, after downloading the file, motion_planning_python_api_tutorial, I decompressed this file separately in src/doc/examples/. After that, I tried to launch it, but the file was missing. Can you solve the problem?
++ Moveit2 is the third git clone, and it's the same every time you do it.

Image
Image


I found something
Image

git clone -b https://github.com/moveit/moveit2_tutorials
I use 'git clone'. But it says to use 'humble' in 'branch'. But if you check, there is no python.api.py in 'humble' and there is no moveit_py in 'package.xml'. What should I do in this case??
It exists in the main.

So I wrote main instead of humble in (branch). But main seems to be compatible with rolling. So when I built colcon, I got an error saying there was no package related to gazebo. So I can't do python_api tutorials?

Image

Image

@sea-bass
Copy link
Contributor

The humble branch of MoveIt2 does not have the Python API, as you discovered.

One thing you can try (though not guaranteed) is simply to comment out / remove all those offending Gazebo dependencies in the moveit2_tutorials/package.xml file?

I believe for Humble they are named ign_ instead of gz_, but if you don't need Gazebo just remove this?

@junjunkiki
Copy link
Author

Thank you for your answer.
I git-cloned moveit2 through the humble branch instead of the main branch. Can I use the api function using Python? If it's available, I'd appreciate it if you could suggest a way

@sea-bass
Copy link
Contributor

sea-bass commented Jan 15, 2025

The Humble branch does not have the Python API. This was released later.

However, the main branch can still be built from source on Humble. So that will have to be the way here unless you upgrade your Ubuntu/ROS version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants