真的搞了好久阿 亲测有效
rosdep init 解决方案:手动写入
https://blog.csdn.net/qq_36498362/article/details/107187006
这个只是参考rosdep init解决方案,手动写入了rosdep init 的初始化列表
文中的rosdep update是不行的
rosdep update解决方案:
https://blog.csdn.net/weixin_43311920/article/details/114796748
roscore找不到命令解决方案:
Command ‘roscore’ not found, but can be installed with。。。。
环境变量默认是anaconda的,因此需要使用ROS的时候,在打开终端时输入:
source /opt/ros/melodic/setup.sh