Posts
All the articles I've posted.
-
Building CARLA in Windows with Unreal Engine 5.5
构建过程 1. 获取访问权限 将 GitHub 账号 关联到Epic Games ,并接受来自Epic组织的邀请。 2. 下载 Carla 专用 UE5 引擎 git clone -b ue5-dev-carla https://github.com/CarlaUnreal/UnrealEngine.git CarlaUE5_Engine 执行 Setup.bat 执行 GenerateProjectFiles.bat 注意: 必须要先进行第一步,否则无权限访问该仓库 必须要使用 Carla 专用的引擎版本,否则编译会失败 3. 编译 CarlaUE5_Engine 在 CarlaUE5_Engine 目录下找到 UE5.sln ,
Updated: -
Building CARLA in Windows with UE4
1. 获取访问权限 将 GitHub 账号 关联到Epic Games ,并接受来自Epic组织的邀请。 2. 下载 Carla 专用 UE4 引擎 git clone --depth 1 -b carla https://github.com/CarlaUnreal/UnrealEngine.git CarlaUE4_Engine 执行 Setup.bat 执行 GenerateProjectFiles.bat 注意: 必须要先进行第一步,否则无权限访问该仓库 必须要使用 Carla 专用的引擎版本,否则编译会失败 3. 编译 CarlaUE4_Engine 在 CarlaUE4_Engine 目录下找到 UE4.sln ,
Updated: -
将 RoadRunner 地图导入 CARLA
前提条件 已经在本地通过源码编译好了 CARLA,参考: Building CARLA in Windows with UE4 已经在本地安装 RoadRunner 并创建好了地图 导出地图 使用 CARLA 选项导出场景: 在主工具栏中,选择 File -> Export -> CARLA Filmbox (.fbx, .xodr, .rrdata.xml) 选择要导出文件的目录,然后单击 Export 。这将生成 <mapName>.fbx 包括 <mapName>.xodr 文件在内的各种文件。 生成 CARLA 地图 进入 D:\CarlaUE4\Import 目录,创建文件夹,例如: Map01 进入 D:\CarlaUE4\Import\Map01 目录,创建存放地图资源的文件夹,例如:
Updated: -
Angular Custom Slots
Option One (Directive) item.directive.ts import { Input , Directive , TemplateRef , EmbeddedViewRef , ViewContainerRef , } from '@angular/core' ; @ Directive ({ selector : '[ListItem]' , }) export class ListItem { private _context : any ; private _viewRef : EmbeddedViewRef < any >; constructor ( private viewContainer : ViewContainerRef , public templateRef : TemplateRef < any > ) { this . _viewRef = this . viewContainer . createEmbeddedView ( templateRef ); } @ Input ()
Updated: -
Potree - Get all points in pointcloud
Background When using potree( potree-core ) to load a large point cloud dataset, it involves the scenario of obtaining all point cloud data for processing, so this method is in place. Core Code function getPoints () { const position = new Float32Array ( MAX_POINTS * 3 ); const intensity = new Float32Array ( MAX_POINTS ); const matrixCache = new Map < PointCloudOctree , THREE . Matrix4 >(); this . pointClouds . forEach (( pointCloud ) => { matrixCache . set ( pointCloud , pointCloud .