Error building gazebo_ros2_plugin [closed]
Hi guys, i'm quite new to ROS2 (didn't work with ROS1 neither) but made it through the tutorials. :-) I now want to start simulating wiht ros2_control and Gazebo. I was able to build the ros2_control repository and want now to install and use the gazebo_ros2_plugin. I cloned the repository and tried to build it as described here: https://github.com/ros-simulation/gazebo_ros2_control/blob/master/README.md
My problem is, that i get the following Error:
**ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
gazebo_ros2_control: Cannot locate rosdep definition for [joint_limits_interface]**
Any idea how i can resolve this?
Following the whole output of the docker cmd:
docker build -t gazebo_ros2_control .
Sending build context to Docker daemon 3.584kB
Step 1/8 : FROM osrf/ros:foxy-desktop
---> 0edb0156cf5d
Step 2/8 : RUN apt-get update && apt-get upgrade -y && apt-get clean
---> Using cache
---> 043309133ead
Step 3/8 : RUN apt-get update && apt-get install -q -y --no-install-recommends dirmngr gnupg2 lsb-release python3-colcon-ros && apt-get clean
---> Using cache
---> 03a6f584016e
Step 4/8 : RUN mkdir -p /home/ros2_control_ws/src && cd /home/ros2_control_ws/src/ && git clone https://github.com/ros-simulation/gazebo_ros2_control && git clone https://github.com/ros-controls/ros2_control && git clone https://github.com/ros-controls/ros2_controllers && rosdep update && rosdep install --from-paths ./ -i -y --rosdistro foxy --ignore-src
---> Running in 67b067776eb8
Cloning into 'gazebo_ros2_control'...
Cloning into 'ros2_control'...
Cloning into 'ros2_controllers'...
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Add distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"
Skip end-of-life distro "groovy"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Add distro "kinetic"
Skip end-of-life distro "lunar"
Add distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /root/.ros/rosdep/sources.cache
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
gazebo_ros2_control: Cannot locate rosdep definition for [joint_limits_interface]
The command '/bin/sh -c mkdir -p /home/ros2_control_ws/src && cd /home/ros2_control_ws/src/ && git clone https://github.com/ros-simulation/gazebo_ros2_control && git clone https://github.com/ros-controls/ros2_control && git clone https://github.com/ros-controls/ros2_controllers && rosdep update && rosdep install --from-paths ./ -i -y --rosdistro foxy --ignore-src' returned a non-zero code: 1