Ubuntu 安装Autoware 教程 --autoware.ai踩坑

本文档详细记录了在Ubuntu18上安装Autoware时遇到的连接超时、SSL连接失败、CUDA版本不兼容等问题,以及相应的解决策略,包括手动输入仓库配置、更换CUDA版本和安装缺失的ROS包。
摘要由CSDN通过智能技术生成

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<

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

fangshining1

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值