ubuntu18.04 安装 CARLA0.9.10

https://carla.readthedocs.io/en/0.9.10/build_linux/

方法1 :Debian 安装

1. Set up the Debian repository in the system:

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"

2.安装carla 并且在 /opt/ 文件夹下可以找到

sudo apt-get update # Update the Debian package indexapt-cache madison carla-simulator # 查看可用版本sudo apt-get install carla-simulator=0.9.10-1 # 安装相应版本 In this case, "0.9.10" refers to a CARLA version, and "1" to the Debian revisioncd /opt/carla-simulator # Open the folder where CARLA is installed

方法2:源码编译安装

安装依赖

Install dependencies

# Install dependencies
sudo apt-get update &&
sudo apt-get install wget software-properties-common &&
sudo add-apt-repository ppa:ubuntu-toolchain-r/test &&
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - &&
sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -c --short)/ llvm-toolchain-$(lsb_release -c --short)-8 main" &&
sudo apt-get update

Additional dependencies for Ubuntu 18.04

sudo apt-get install build-essential clang-8 lld-8 g++-7 cmake ninja-build libvulkan1 python python-pip python-dev python3-dev python3-pip libpng-dev libtiff5-dev libjpeg-dev tzdata sed curl unzip autoconf libtool rsync libxml2-dev libxerces-c-dev &&
pip2 install --user setuptools &&
pip3 install --user -Iv setuptools==47.3.1 &&
pip2 install --user distro &&
pip3 install --user distro

Change default clang version

python -m habitat_sim.utils.datasets_download --uids habitat_test_scenes --data-path ~/Documents....python -m habitat_sim.utils.datasets_download --uids habitat_example_objects --data-path ~/Documents....

安装虚拟引擎

这是Epic Games公司的私有库,所以要想从Github上下载UE的代码,你需要首先将你的Github账号与Epic Games公司账号绑定。进入EPIC官网,推荐先使用微软的账号先登陆。

然后进入个人中心,再进行关联。

在邮件点击确认,接着fork一下。

然后进入自己的github,就能看到这个私有库了。

克隆 Unreal Engine 4.24

git clone --depth=1 -b 4.24 https://github.com/EpicGames/UnrealEngine.git ~/UnrealEngine_4.24

报错 参考https://blog.csdn.net/weixin_41010198/article/details/119698015 进行token的配置 然后在密码位置输入配置好的token

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

再次克隆

git clone --depth=1 -b 4.24 https://github.com/EpicGames/UnrealEngine.git ~/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

**打开UE **

cd ~/UnrealEngine_4.24/Engine/Binaries/Linux && ./UE4Editor

安装CARLA


sudo apt-get install aria2git clone https://github.com/carla-simulator/carla
#进入carla源代码目录
cd carla
# 拉取更新远程分支列表
git remote update origin --prune
#查看carla版本
git tag --list#签出0.9.10.1版本,UE4.24对应,必须对应,否则使用python会出错
git checkout -b 0.9.10.1 0.9.10.1# 查看本地分支
git branch -vv./Update.sh
export UE4_ROOT=~/UnrealEngine_4.24

make CARLA

Make sure to run make PythonAPI to prepare the client and make launch for the server.

make launch  # 可能要多试几遍

然后漫长的等待

构建PythonAPI

## 创建python 虚拟环境
conda create -n carla python=3.7
conda activate carlamake PythonAPI ## 安装依赖包
pip install -r requirements.txt
pip install networkxcd PythonAPI/examples
python3 automatic_control.py

ubuntu18.04 安装 CARLA0.9.10相关推荐

  1. Ubuntu18.04安装Carla 记录

    官方文档:CARLA Simulator 方式一:简单快速安装,该方式有缺陷.需要使用虚幻引擎编辑器的高级定制和开发选项不可用. Advanced customization and developm ...

  2. Ubuntu18.04 安装Asterisk16.10 + FreePBX15.0

    Ubuntu18.04 安装Asterisk16.10 + FreePBX15.0 1.首先需要先更新一下ubuntu的apt源 cp /etc/apt/sources.list /etc/apt/s ...

  3. Ubuntu18.04配置carla0.9.11踩坑与解决方法总结,同时解决安装carla-ros-bridge遇到的问题,并复现OpenCDA成功与ros关联

    Ubuntu18.04配置carla0.9.11踩坑与解决方法总结,同时解决安装carla-ros-bridge遇到的问题,并复现OpenCDA成功与ros关联 背景: 主要是为了复现叶小飞的Open ...

  4. Ubuntu18.04+RTX 2080Ti+CUDA 10.0 +cuDNN+PyTorch搭建深度学习环境

    SSH无密码登陆 安装SSH Server Ubuntu 默认已安装了 SSH client,此外还需要安装 SSH server: sudo apt-get install openssh-serv ...

  5. linux下anaconda3安装教程,Ubuntu18.04 安装 Anaconda3的教程详解

    Anaconda指的是一个开源的Python发行版本,其包含了conda.Python等180多个科学包及其依赖项. 因为包含了大量的科学包,Anaconda 的下载文件比较大(约 531 MB),如 ...

  6. Ubuntu18.04安装cuDNN和Tensorflow的正确姿势

    文章目录 Ubuntu18.04安装cuDNN和Tensorflow的正确姿势 一.检查NVIDIA驱动是否安装成功 二.检查CUDA是否安装成功 三.安装cuDNN 1. 确定版本 2. 下载安装包 ...

  7. Ubuntu18.04安装OpenPCDet及配置spconv

    spconv的安装简直要命,废了三天才安装好,多亏了网上一些教程.下面是我综合几个点击量高的博文,成功安装的过程记录. 目录 安装 1 clone 项目 2 创建并配置虚拟环境 3 安装spconv ...

  8. Ubuntu18.04 安装搭建 hadoop-3.3.0 集群

    Ubuntu18.04 安装搭建 hadoop-3.3.0 集群 参考博文:https://blog.csdn.net/sunxiaoju/article/details/85222290?ops_r ...

  9. Ubuntu18.04安装RTL8125/RTL8168等网卡驱动程序

    Ubuntu下的驱动程序在这里下载, Realtek PCIe FE / GBE / 2.5G / Gaming Ethernet Family Controller Software - REALT ...

最新文章

  1. 怎样做网络推广浅析网站被K之后,优化人员们要注意的方面是哪些?
  2. 《中国人工智能学会通讯》——10.10 结束语
  3. MS SQL自定义函数IsPositiveInteger MS SQL自定义函数IsNumeric 水晶报表使用IEnumerableT数据源...
  4. TCL:花开刹那还是浴火重生
  5. 搜狐视频怎么清除应用缓存
  6. python 实现字典树_python字典树(Trie)的实现
  7. 2021数据分析岗疯狂内卷下,给应届校招生的建议:请避开大厂
  8. pytorch 与numpy 部分操作的对应关系
  9. JS正则表达式从入门到入土(7)—— 分组
  10. Learning Music Notation 学习音乐符号 Lynda课程中文字幕
  11. 安川机器人外部急停信号点不开_安川机器人示教器常见故障维修方法
  12. 揭秘3D游戏模型贴图师
  13. css3 标点符号在首位,CSS 让标点符号不出现在行首
  14. matlab中最好用的滤波函数,谁有matlab滤波器设计实例,想找个参考,最好是hamming窗,低通 fir滤波器。...
  15. MATLAB实现控制系统的根轨迹分析
  16. 【matlab图像处理笔记4】【图像变换】(三)图像的霍夫变换
  17. CRC32 tools in Ubuntu /fedora
  18. js微信抢红包脚本代码_微信红包算法(js)
  19. HCIP高级网络知识整理(十分详细)
  20. MyCat (一) --------- MyCat 概述

热门文章

  1. OS X Mountain Lion 系统配置 Apache+Mysql+PHP 详细教程
  2. 前面的号码不足为奇,后面的才是重点
  3. 来听听资深设计师的想法(下)
  4. html5css游戏,HTML5/CSS3 迷你赛车游戏
  5. 计算机的键盘怎么调,键盘灵敏度,教您怎么调节电脑键盘灵敏度
  6. 【ZCMU1434】糖果迷阵
  7. SpringMVC基础--spring MVC配置详解
  8. Photoshop CS2 视频教程-PS色彩范围(转)
  9. R语言的逻辑与、逻辑或和元素逻辑与、元素逻辑或的区别
  10. selenium +eclipse+firefox/chrome 环境全套搭配