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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM