Carla依赖UE4进行开发,因此还需要配置Unreal Engine环境 1.配置Unreal Engine
git clone --depth=1 -b 4.24 https://github.com/EpicGames/UnrealEngine.git ~/UnrealEngine-4.24
cd ~/UnrealEngine-4.24
wget https://carla-releases.s3.eu-west-3.amazonaws.com/Linux/UE_Patch/430667-13636743-patch.txt 430667-13636743-patch.txt
patch --strip=4 < 430667-13636743-patch.txt
./Setup.sh && ./GenerateProjectFiles.sh && make
cd ~/UnrealEngine-4.24/Engine/Binaries/Linux && ./UE4Editor
export UE4_ROOT=~/UnrealEngine-4.24
注意: 第一步UE4的安装需要注册账号,需使用token令牌,非密码
- Carla安装
Carla建议使用安装包方式安装,源码编译过程教程且易出错。
Carla的问题清单: https://hub.fastgit.org/carla-simulator/carla/issues/1466
|