当前位置:网站首页>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的主界面后操作如下:
文件 -》 将当前关卡另存为
- 选择地图关卡的保存路径和名称
完成!
边栏推荐
猜你喜欢
使用C#语言来进行json串的接收
On the back door of deep learning model
浅谈深度学习中的对抗样本及其生成方法
Programmers can only be 35? The 74 year old programmer in the United States has been programming for 57 years and has not retired
【MagNet】《Progressive Semantic Segmentation》
【Batch】learning notes
简易打包工具的安装与使用
Remplacer l'auto - attention par MLP
What if the laptop can't search the wireless network signal
Using super ball embedding to enhance confrontation training
随机推荐
Global and Chinese markets for magnetic resonance imaging (MRI) transmission 2022-2028: Research Report on technology, participants, trends, market size and share
Feature Engineering: summary of common feature transformation methods
On the back door of deep learning model
力扣方法总结:滑动窗口
【MobileNet V3】《Searching for MobileNetV3》
Sequence problem for tqdm and print
SQL操作数据库语法
Go functions make, slice, append
联邦学习下的数据逆向攻击 -- GradInversion
樂理基礎(簡述)
【MnasNet】《MnasNet:Platform-Aware Neural Architecture Search for Mobile》
【Random Erasing】《Random Erasing Data Augmentation》
【Cutout】《Improved Regularization of Convolutional Neural Networks with Cutout》
Global and Chinese market of snow sweepers 2022-2028: Research Report on technology, participants, trends, market size and share
open3d学习笔记五【RGBD融合】
The internal network of the server can be accessed, but the external network cannot be accessed
E-R draw clear content
Meta learning Brief
Find and rfind methods in string
Simply test the two different data transmission methods of content length and chunked