CARLA
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h
Go to the documentation of this file.
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 
10 #include <carla/rpc/ObjectLabel.h>
12 
13 #include "BoundingBox.h"
14 
15 #include "EnvironmentObject.generated.h"
16 
17 namespace crp = carla::rpc;
18 
20 {
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)
49 
50  uint64 Id = 0;
51 
53 
54  crp::CityObjectLabel ObjectLabel;
55 
56  bool CanTick = false;
57 };
carla::SharedPtr< cc::Actor > Actor
geom::Transform Transform
Definition: rpc/Transform.h:16