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

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

sudo apt install python3-pip
pip3 -V

Carla的简易安装--详细步骤(ubuntu18.04)
2、关闭防火墙,并添加python的一些库依赖

pip3 install --user pygame numpy

Carla的简易安装--详细步骤(ubuntu18.04)
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"

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

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

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

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

Carla的简易安装--详细步骤(ubuntu18.04)
注意:carla安装需要较大的空间,安装前需要检测默安装文件的空间大小;

df -hl
du -sh

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

cd /opt/carla-simulator

4、启动Carla

cd /opt/carla-simulator/bin/
./CarlaUE4.sh

相关文章:

  • 2022-01-24
  • 2021-12-28
  • 2021-11-16
  • 2021-08-07
  • 2021-10-19
  • 2021-11-04
  • 2021-07-14
  • 2021-05-28
猜你喜欢
  • 2021-04-11
  • 2021-08-04
  • 2021-07-23
  • 2021-12-07
  • 2021-09-16
  • 2021-04-07
相关资源
相似解决方案