Carla的简易安装--详细步骤(ubuntu18.04)

参考:https://carla.readthedocs.io/en/latest/start_quickstart/

1、检查python版本,以python3为例:

sudo apt install python3-pip
pip3 -V

image
2、关闭防火墙,并添加python的一些库依赖

pip3 install --user pygame numpy

image
3、Debian CARLA installation

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1AF1527DE64CB8D9
    sudo add-apt-repository "deb [arch=amd64] http://dist.carla.org/carla $(lsb_release -sc) main"

image

image

3.1 安装Carla

sudo apt-get update # Update the Debian package index
sudo apt-get install carla-simulator # Install the latest CARLA version, or update the current installation

image

image
注意:carla安装需要较大的空间,安装前需要检测默安装文件的空间大小;

df -hl
du -sh

3.2 打开安装路径查看安装情况

cd /opt/carla-simulator

4、启动Carla

cd /opt/carla-simulator/bin/
./CarlaUE4.sh
posted @ 2021-12-19 11:48  XiaoMu-1230  阅读(2111)  评论(0编辑  收藏  举报