镜像选择与安装
1.官网镜像ios选择desktop和live-server的区别:
参考https://ywnz.com/linuxxw/3366.html
2.清华大学开源软件镜像站:https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/
3.想安装旧版本,而在官网只看到最新版本的解决方法:
https://www.zhihu.com/question/431739505/answer/1592009488
4.如果只是安装单系统,直接默认选择系统分配好的方式,不需要自己进行手动分盘,十分方便
ROS安装的init和update困难
1.sudo rosdep init 运行报错cannot download default…多半是因为raw.githubusercontent.com被墙(dns污染),程序无法下载相应文件,所以我们可以查询网站正确IP去访问:https://windses.blog.csdn.net/article/details/102917569?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-3.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-3.control(这个方法里的IP对于我的PC有用)
2.换过几次IP需要执行sudo rm /etc/ros/rosdep/sources.list.d/20-default.list删掉初始文件:https://blog.csdn.net/weixin_46195203/article/details/109228079
3.rosdep update和rosdep init都需要访问境外服务器,执行rosdep update时,rosdep会尝试访问yaml文件网站,把yaml里的信息转到本地,这样ros可以在配置时一并下载依赖。个人认为解决方法是具有时效性的,被推荐这个方法,配置当天依旧报错无效,第二天可能是网络稳定,一步通过:https://blog.csdn.net/Kenny_GuanHua/article/details/116845781#t1