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