rosdep install -y --from-paths src --ignore-src --rosdistro kinetic出错

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

运行结果如下:
在这里插入图片描述

评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值