the following packages/stacks could not have their rosdep keys resolved to system dependencies: moveit_core: cannot locate rosdep definition for [random_numbers]
moveit_setup_assistant: cannot locate rosdep definition for [rviz]
moveit_resources: cannot locate rosdep definition for [robot_state_publisher]
moveit_tutorials: Cannot locate rosdep definition for [eigen]moveit_ros_perception: Cannot locate rosdep definition for [opengl]
moveit_ros_planning_interface: Cannot locate rosdep definition for [python3]
moveit_ros_manipulation: Cannot locate rosdep definition for [eigen]
moveit_kinematics: Cannot locate rosdep definition for [liborocos-kdl-dev]
出现上诉错误是因为执行rosdep update时skip kinetic:
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"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"
Add distro "galactic"
Skip end-of-life distro "groovy"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Skip end-of-life 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
运行
rosdep update --include-eol-distros
可以修复上诉问题。
之后运行:
rosdep install -y --from-paths src --ignore-src --rosdistro kinetic
运行结果如下: