CARLA
SSTags.h
Go to the documentation of this file.
1 // Copyright (c) 2023 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #include "Containers/UnrealString.h"
8 #pragma once
9 
10 #if WITH_EDITORONLY_DATA
11 
12 // NOTE: Assets imported from a map FBX will be classified for semantic
13 // segmentation as ROAD, ROADLINES AND TERRAIN based on the asset name
14 // defined in RoadRunner. These tags will be used for moving the meshes
15 // and for specifying the path to these meshes when spawning them in a world.
16 namespace SSTags {
17  // Carla Semantic Segmentation Folder Tags
18  static const FString ROAD = TEXT("Road");
19  static const FString ROADLINE = TEXT("RoadLine");
20  static const FString TERRAIN = TEXT("Terrain");
21  static const FString GRASS = TEXT("Terrain");
22  static const FString SIDEWALK = TEXT("SideWalk");
23  static const FString CURB = TEXT("SideWalk");
24  static const FString GUTTER = TEXT("SideWalk");
25 
26  // RoadRunner Tags
27  //
28  // RoadRunner's mesh naming convention:
29  // mapName_meshType_meshSubtype_layerNumberNode
30  //
31  // meshType is a larger geographical tag (e.g. "Road", "Terrain")
32  // meshSubType is a denomination of the tag (e.g. "Road", "Gutter", "Ground")
33  static const FString R_ROAD1 = TEXT("Road_Road");
34  static const FString R_ROAD2 = TEXT("Roads_Road");
35  static const FString R_GRASS1 = TEXT("Road_Grass");
36  static const FString R_GRASS2 = TEXT("Roads_Grass");
37  static const FString R_MARKING1 = TEXT("Road_Marking");
38  static const FString R_MARKING2 = TEXT("Roads_Marking");
39  static const FString R_SIDEWALK1 = TEXT("Road_Sidewalk");
40  static const FString R_SIDEWALK2 = TEXT("Roads_Sidewalk");
41  static const FString R_CURB1 = TEXT("Road_Curb");
42  static const FString R_CURB2 = TEXT("Roads_Curb");
43  static const FString R_GUTTER1 = TEXT("Road_Gutter");
44  static const FString R_GUTTER2 = TEXT("Roads_Gutter");
45  static const FString R_TERRAIN = TEXT("Terrain");
46 }
47 
48 #endif