Closed muhidabid closed 4 weeks ago
Exactly the same issue today, will be following this thread.
me too
Did you solve this issue? I have same issue.
I've been trying but no luck so far @yusufkizgin
Okay, i am following. Thank you.
For ROS Iron I deleted gz_ros2_control from ws_moveit/src then download again, but the iron branch: git clone https://github.com/ros-controls/gz_ros2_control -b iron
@T3rO I just tried that but it gives me a new error upon colcon build: Error output gist
me too
ubuntu22.04.4 humble
Are you all checking out the humble
branch of this repo?
There have been some recent changes on the main
branch here regarding the ros2_kortex
repo (which pulls in the offending dependency), but there are meant to track ROS 2 Rolling on Ubuntu 24.04 going forward.
For Iron, I think the maintainers will/should probably cut a separate branch and this may not be working at the moment unless you manually roll your version of ros2_kortex
to this one: https://github.com/Kinovarobotics/ros2_kortex
@T3rO I just tried that but it gives me a new error upon colcon build: Error output gist
Yes I had this error too. I used this fix: https://github.com/PickNikRobotics/ros2_robotiq_gripper/issues/60
@sea-bass I think an Iron branch in this repo would be nice, and then also mention that a specific branch has to be checked out in the installation guide
@sea-bass I think an Iron branch in this repo would be nice, and then also mention that a specific branch has to be checked out in the installation guide
I see. That one is also due to there being newer changes on Rolling, and you could grab the humble branch of that repo.
All in all, it seems that all these new updates need to be handled correctly on non-rolling versions of the tutorials repo.
I have a feeling that I will never be able to go through moveit tutorials. First #918 which does not allow to get the environment itself and now this.
OK yeah so the issue is that the gz_sim_vendor
package is only available on Jazzy and Rolling, per https://index.ros.org/search/?term=gz_sim_vendor
Meaning the main
branch of this repo is not currently compatible with humble/iron.
Is there a branch in this repo that is compatible with iron?
@sea-bass I tried rolling but that gives me a new error
Is there a branch in this repo that is compatible with iron?
Nope, I think there are only branches for LTS releases, meaning a humble
branch and then a main
(which right now is supposed to work for Jazzy/Rolling).
With luck, the humble
branch should also work with Iron as the changes were fairly minimal and they use the same supported Ubuntu version (22.04).
@sea-bass I tried rolling but that gives me a new error
As documented in the getting started tutorial, try this from your workspace root to install any missing packages like the one you're pointing out?
rosdep install --from-paths src -y --ignore-src
@sea-bass I followed the getting started tutorial and installed from my workspace root using rosdep install --from-paths src -y --ignore-src
but I am still getting the same error
@sea-bass I followed the getting started tutorial and installed from my workspace root using
rosdep install --from-paths src -y --ignore-src
but I am still getting the same error
You should check if the command ran successfully, i.e., it found all the packages or it failed to resolve some. Also it helps to do a sudo apt update
first to make sure your repos are up to date.
If you switched ros distros, you may also need to go through the rosdep init / rosdep update
cycle again as well.
Anyways, I am unable to debug every small issue for everyone, so just sharing some pointers for people to consider and/or contribute fixes as you find them.
All the best!
I have the same error, but first I deleted the rosdep list using sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
and deleted the ws with rm -rf ws_moveit/
then, I Followed the Getting Started Tutorial but instead use git clone https://github.com/moveit/moveit2_tutorials
i used git clone https://github.com/moveit/moveit2_tutorials -b humble
and it worked for me.
edit: I'm using ROS Humble and Ubuntu 22.04
actually i deleted even my virtual machine but it doesn't work :/
I have the same error, but first I deleted the rosdep list using
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
and deleted the ws withrm -rf ws_moveit/
then, I Followed the Getting Started Tutorial but instead usegit clone https://github.com/moveit/moveit2_tutorials
i usedgit clone https://github.com/moveit/moveit2_tutorials -b humble
and it worked for me.edit: I'm using ROS Humble and Ubuntu 22.04
I tried this way and it was successful. Change to ROS humble.
I have the same error, but first I deleted the rosdep list using
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
and deleted the ws withrm -rf ws_moveit/
then, I Followed the Getting Started Tutorial but instead usegit clone https://github.com/moveit/moveit2_tutorials
i usedgit clone https://github.com/moveit/moveit2_tutorials -b humble
and it worked for me.edit: I'm using ROS Humble and Ubuntu 22.04
I tried this and it worked. obrigado :)
I have the same error, but first I deleted the rosdep list using
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
and deleted the ws withrm -rf ws_moveit/
then, I Followed the Getting Started Tutorial but instead usegit clone https://github.com/moveit/moveit2_tutorials
i usedgit clone https://github.com/moveit/moveit2_tutorials -b humble
and it worked for me.edit: I'm using ROS Humble and Ubuntu 22.04
It took a few tries but this worked for me as well. Thank you! @Thgm01
Thanks to everyone for sharing your solutions!
As a recap: Since the main
branch of this repo tracks ROS 2 rolling, it is not guaranteed to work on Humble. So, as many have pointed out, you can use the humble
branch of the tutorials on Humble.
I have the same error, but first I deleted the rosdep list using
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
and deleted the ws withrm -rf ws_moveit/
then, I Followed the Getting Started Tutorial but instead usegit clone https://github.com/moveit/moveit2_tutorials
i usedgit clone https://github.com/moveit/moveit2_tutorials -b humble
and it worked for me.edit: I'm using ROS Humble and Ubuntu 22.04
This also worked fo me :)
Description
I am unable to colcon build due to a CMake error. I have spent a day trying to fix this but no luck so far.
Your environment
Steps to reproduce
Installed ROS2 Iron following this page. Then setup moveit2 following this page
Expected behaviour
The project should build without errors
Backtrace or Console output
Gist link