moveit / moveit2

:robot: MoveIt for ROS 2
https://moveit.ai/
BSD 3-Clause "New" or "Revised" License
983 stars 493 forks source link

Installation fails for Jazzy #2833

Closed orfvl closed 1 month ago

orfvl commented 1 month ago

Description

Overview of your issue here.

Your environment

Steps to reproduce

I followed the instructions to install ros2 jazzy. Then I followed with instructions for moveit. Until building the workspace everything was fine.

Expected behaviour

Tell us what should happen

Actual behaviour

When i executed

sudo apt update && rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y

I get the following error

executing command [sudo -H apt-get install -y ros-jazzy-gazebo-ros2-control]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-jazzy-gazebo-ros2-control
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y ros-jazzy-gazebo-ros2-control] failed
  apt: Failed to detect successful installation of [ros-jazzy-gazebo-ros2-control]

Any help would be greatly appreciated.

Edit

I noticed when running

sudo apt update && rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y

That it tries to find gazebo_ros2_control which is Gazebo classic meaning "Gazebo Classic is not released to Ubuntu Noble. As a consequence, gazebo_ros2_control won’t be released for Jazzy and Rolling anymore."

Is it possible to change this in the moveit installation?

henningkayser commented 1 month ago

Jazzy is not yet supported by MoveIt, release and support progress is tracked here #2846.

Your issue is indeed caused by gazebo_ros2_control not being available as debian package anymore, and gz_ros2_control being the successor to switch to.

Also, this dependency is not a MoveIt dependency, more likely it is being installed by one of the tutorial resources. If you could track down which one that is and update the dependency, that would be very helpful for the migration. I'm closing this issue for now since it doesn't affect any of the supported distros.