当前位置:网站首页>Carla-UE4Editor导入RoadRunner地图文件(保姆级教程)
Carla-UE4Editor导入RoadRunner地图文件(保姆级教程)
2022-07-02 06:28:00 【江藤霞】
UE4Editor导入RoadRunner地图文件
目录
一、开发环境说明
1、Carla:0.9.11
2、Python:3.7.8
3、操作系统:Windows10
4、VS 2019,SDK没有特殊限制
5、RoadRunner安装需要许可证,试用许可证30天,高校一般有免费的可以申请
二、RoadRunner导出地图文件
步骤一:导出
将新建的文件进行导出…
步骤二:命名和导出路径
本案例地图命名为:Parking_UG_05
点击Export
!
导出结果如下:
一般情况下只要没有`红色`的错误即可
注意:记住地图的命名以及导出路径,后面要用到!
三、UE4导入地图文件
1、复制及一些设置
将刚刚生成的Parking_UG_05
文件夹整个复制并粘贴到Carla源码下的Import\Package07
目录,本案例为:
F:\Carla\carla-0.9.11\Import\Package07
注意:Package07
为我自己新建的一个目录,命名可随机(不要有中文)
在该目录下还有package.json
文件,没有的话自己新建,其内容如下:
{
"maps": [
{
"name": "Parking_UG_05",
"source": "./Parking_UG_05/Parking_UG_05.fbx",
"use_carla_materials": true,
"xodr": "./Parking_UG_05/Parking_UG_05.xodr"
}
],
"props": [
]
}
大概结构为这样…
注意:name
参数值尽量与导出的地图文件名一致,不然可能导致莫名其妙的错误!(Parking_UG_05
)。
2、生成命令
下面执行生成地图文件的命令
本案例Carla源码目录为:
F:\Carla\carla-0.9.11
打开自己安装的对应版本的 VS 2019
工具命令提示行。
进入到Carla源码目录,执行以下命令(Package07
是我存放地图文件时新建的,记得灵活变更)
cd F:\Carla\carla-0.9.11
make import ARGS="--package Package07 --no-carla-materials"
等待PyCharm
弹出Import工程
后,点击运行
按钮
等待程序运行完后会自动结束…
3、UE4Editor导入地图
- 打开
Carla的UE4工程(名称一般为:CarlaUE4.uproject)
以启动UE4Editor - (该步骤可省略)在
Carla\Maps
目录下新增Parking_UG_05
文件夹并进入(如下所示) - 点击
导入
,指定刚刚的Import
目录(如下)下的地图文件,选中Parking_UG_05.fbx
文件
F:\Carla\carla-0.9.11\Import\Package07\Parking_UG_05
注意事项如下:
4、另存为
- 导入成功后会弹出一个界面,显示内容为你导入的3D地图,该页面不用管(保存或者不保存都行),直接切换到UE4Editor的主界面后操作如下:
文件 -》 将当前关卡另存为
- 选择地图关卡的保存路径和名称
完成!
边栏推荐
- 【FastDepth】《FastDepth:Fast Monocular Depth Estimation on Embedded Systems》
- Network metering - transport layer
- 【Random Erasing】《Random Erasing Data Augmentation》
- [learning notes] numerical differentiation of back error propagation
- Where do you find the materials for those articles that have read 10000?
- Correction binoculaire
- 稀疏矩阵存储
- open3d学习笔记三【采样与体素化】
- A brief analysis of graph pooling
- C#与MySQL数据库连接
猜你喜欢
Jetson nano installation tensorflow stepping pit record (scipy1.4.1)
open3d学习笔记五【RGBD融合】
Where do you find the materials for those articles that have read 10000?
Open3D学习笔记一【初窥门径,文件读取】
MySQL优化
CVPR19-Deep Stacked Hierarchical Multi-patch Network for Image Deblurring论文复现
利用Transformer来进行目标检测和语义分割
针对语义分割的真实世界的对抗样本攻击
Correction binoculaire
open3d学习笔记四【表面重建】
随机推荐
Principes fondamentaux de la théorie musicale (brève introduction)
【MagNet】《Progressive Semantic Segmentation》
【学习笔记】Matlab自编图像卷积函数
Jupyter Notebook常用快捷键(在命令模式中按H也可查看)
[C # note] the data in DataGridView saved in WinForm is excel and CSV
Vscode下中文乱码问题
AR system summary harvest
【MobileNet V3】《Searching for MobileNetV3》
Summary of solving the Jetson nano installation onnx error (error: failed building wheel for onnx)
针对语义分割的真实世界的对抗样本攻击
用C# 语言实现MYSQL 真分页
【MagNet】《Progressive Semantic Segmentation》
C#与MySQL数据库连接
Hystrix dashboard cannot find hystrix Stream solution
Specification for package drawing
Several methods of image enhancement and matlab code
I'll show you why you don't need to log in every time you use Taobao, jd.com, etc?
What if the laptop can't search the wireless network signal
业务架构图
How to back up the configuration before the idea when reinstalling the idea