Ubuntu18 安装Autoware教程
如题,本文安装时参考这里,在此之前本人已经安装好了,ROS_melodic,PyQt5,CUDA等文件因此,在借鉴此文章时只看了后面Autoware的部分。
1.安装依赖,配置环境
sudo apt update
sudo apt install -y python-catkin-pkg python-rosdep ros-$ROS_DISTRO-catkin
sudo apt install -y python3-pip python3-colcon-common-extensions python3-setuptools python3-vcstool
pip3 install -U setuptools
说实话这一步我只运行了第一条,但是我之前在安装另一台的时候都安装了;
2.创建工作空间
mkdir -p autoware.ai/src
cd autoware.ai
说实话到这到都没啥问题;
3.下载autoware.ai的工作空间的配置
wget -O autoware.ai.repos "https://raw.githubusercontent.com/Autoware-AI/autoware.ai/1.12.0/autoware.ai.repos"
到这里就完了 ,要么就是连接超时 要么就是无法建立SSL连接,下面是我的提示:
--2021-05-31 10:29:58-- https://raw.githubusercontent.com/Autoware-AI/autoware.ai/1.12.0/autoware.ai.repos
正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133
正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443...
失败:连接超时。
重试中。
--2021-05-31 10:32:09-- (尝试次数: 2) https://raw.githubusercontent.com/Autoware-AI/autoware.ai/1.12.0/autoware.ai.repos
正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... 已连接。
无法建立 SSL 连接。
不管怎么说就是连不上,于是我就直接翻出去看了看文件的内容,发现是一堆连接,因此解决方法也很简单,直接将下面内容粘贴进 autoware.ai/autoware.ai.repos 文件中即可(时间:2021/05/25):
repositories:
autoware/common:
type: git
url: https://gitlab.com/autowarefoundation/autoware.ai/common.git
version: 1.12.0
autoware/core_perception:
type: git
url: https://gitlab.com/autowarefoundation/autoware.ai/core_perception.git
version: 1.12.0
autoware/core_planning:
type: git<