当在catkin工作区创建好了包以后,要rospack depends1 beginner_tutorials,出现了以下的提示错误:
[rospack] Error: the rosdep view is empty: call ‘sudo rosdep init’ and ‘rosdep update’
解决方法:
1)注意要将工作区添加到ROS环境,需要source一下:source devel/setup.bash
2)(除去多余的)sudo rm -rf $HOME/.ros/rosdep
sudo rm -rf /etc/ros/rosdep
sudo apt-get install python-rosdep
(重新安装来rosdep)
3)sudo rosdep init
rosdep update
这样就可以了,可以得到依赖关系。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)