CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Util
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h
浏览该文件的文档.
1
// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
// This work is licensed under the terms of the MIT license.
4
// For a copy, see <https://opensource.org/licenses/MIT>.
5
6
#pragma once
7
8
#include "
Carla/Util/BoundingBox.h
"
9
#include <
compiler/disable-ue4-macros.h
>
10
#include <
carla/rpc/ObjectLabel.h
>
11
#include <
compiler/enable-ue4-macros.h
>
12
13
#include "
BoundingBox.h
"
14
15
#include "EnvironmentObject.generated.h"
16
17
namespace
crp
=
carla::rpc
;
18
19
enum
EnvironmentObjectType
20
{
21
Invalid
,
22
Vehicle
,
23
Character
,
24
TrafficLight
,
25
ISMComp
,
26
SMComp
,
27
SKMComp
28
};
29
30
// Name is under discussion
31
USTRUCT(BlueprintType)
32
struct CARLA_API
FEnvironmentObject
33
{
34
GENERATED_BODY()
35
36
AActor
* Actor =
nullptr
;
37
38
UPROPERTY(EditAnywhere, BlueprintReadWrite)
39
FString Name;
40
41
UPROPERTY(EditAnywhere, BlueprintReadWrite)
42
FString IdStr;
43
44
UPROPERTY(EditAnywhere, BlueprintReadWrite)
45
FTransform Transform;
46
47
UPROPERTY(EditAnywhere, BlueprintReadWrite)
48
FBoundingBox
BoundingBox
;
49
50
uint64 Id = 0;
51
52
EnvironmentObjectType
Type =
EnvironmentObjectType
::
Invalid
;
53
54
crp
::CityObjectLabel ObjectLabel;
55
56
bool
CanTick = false;
57
};
CarlaRecorderPacketId::BoundingBox
@ BoundingBox
ObjectLabel.h
BoundingBox.h
EnvironmentObjectType
EnvironmentObjectType
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:20
Character
@ Character
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:23
SKMComp
@ SKMComp
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:27
SMComp
@ SMComp
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:26
TrafficLight
@ TrafficLight
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:24
Vehicle
@ Vehicle
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:22
Invalid
@ Invalid
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:21
ISMComp
@ ISMComp
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:25
AActor
disable-ue4-macros.h
enable-ue4-macros.h
carla::rpc
Definition
DebugShapeDrawer.h:11
FBoundingBox
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/BoundingBox.h:13
FEnvironmentObject
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h:33
制作者
1.10.0