ros-controls / gz_ros2_control

Connect the latest version of Gazebo with ros2_control.
https://gazebosim.org
Apache License 2.0
92 stars 71 forks source link

Cannot locate rosdep definition for [gz_plugin_vendor] #362

Closed MnM03 closed 3 days ago

MnM03 commented 1 week ago

Hello I am trying to install ros_ign from source, and I receive the following error:

root@mohamed-IdeaPad-Pro-5-14APH8:~/ros_ign/src# rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: gz_ros2_control: Cannot locate rosdep definition for [gz_plugin_vendor] Continuing to install resolvable dependencies...

All required rosdeps installed successfully

How can I solve this?

christophfroehlich commented 1 week ago

On which operating system are you working, and which ROS distro?

august779188 commented 6 days ago

On which operating system are you working, and which ROS distro?您使用哪个操作系统以及哪个 ROS 发行版?

I use humble version and i meet the same question. I also find that gz_plugin_vendor seems only support rolling and jazzy version

christophfroehlich commented 3 days ago

@august779188 Are you using the correct branch, as listed here? For humble, you need the humble branch which has no dependency on gz_*_vendor packages. If you are instead trying to compile the rolling version of ros2_control stack on ubuntu jammy+humble distro, there is no way to do so because the vendor packages were not released for jammy.

MnM03 commented 3 days ago

On which operating system are you working, and which ROS distro?

Dear Christoph,

I aplogize for the late reply. I managed to install the plugin by using apt install command. I first used apt-get, which did not work. So I tried to buid locally. I am using a docker container with humble: osrf/ros:humble-desktop-full.

christophfroehlich commented 3 days ago

As I said before, if you are using humble and want to build ign_ros2_control from source, you have to use the humble branch here.

MnM03 commented 3 days ago

As I said before, if you are using humble and want to build ign_ros2_control from source, you have to use the humble branch here.

And I did.. I selected the 'humble' branch.

christophfroehlich commented 3 days ago

I don't think so.