文章起源:https://bbs.carla.org.cn/info…
作者:carlami
系統:WIN10
CARLR:0.9.11
装置 ANACONDA
下载最新版本的 anaconda,下载地址如下:
https://mirrors.tuna.tsinghua…
装置 python3.7
conda create -n py37 python=3.7
conda activate py37
设置 conda 下载减速
conda config –add channels https://mirrors.tuna.tsinghua…
conda config –add channels https://mirrors.tuna.tsinghua…
conda config –add channels https://mirrors.tuna.tsinghua…
pip install numpy
pip install pygame
pip install networkx
装置 carla
1)下载 carla 0.9.11 并解压
下载地址:https://carla.org/2020/12/22/…
解压到:D:\carla\CARLA_0.9.11
2) 装置 carlalib。关上命令行程序,执行上面的命令
cd D:\carla\CARLA_0.9.11\WindowsNoEditor\PythonAPI\carla\dist
easy_install carla-0.9.10-py3.7-win-amd64.egg
执行用例
cd D:\carla\CARLA_0.9.11\WindowsNoEditor\PythonAP\examples
python automatic_control.py