13 #include "OpenDriveMap.generated.h" 15 USTRUCT(BlueprintType)
20 carla::road::element::Waypoint Waypoint;
23 USTRUCT(BlueprintType)
28 UPROPERTY(BlueprintReadWrite)
31 UPROPERTY(BlueprintReadWrite)
36 UCLASS(BlueprintType, Blueprintable)
46 UFUNCTION(BlueprintCallable)
53 UFUNCTION(BlueprintCallable)
54 bool Load(
const FString &XODRContent);
57 UFUNCTION(BlueprintCallable)
61 UFUNCTION(BlueprintCallable)
62 TArray<FWaypoint> GenerateWaypoints(
float ApproxDistance = 100.0f)
const;
66 UFUNCTION(BlueprintCallable)
67 TArray<FWaypointConnection> GenerateTopology()
const;
70 UFUNCTION(BlueprintCallable)
71 TArray<FWaypoint> GenerateWaypointsOnRoadEntries()
const;
74 UFUNCTION(BlueprintCallable)
75 FVector ComputeLocation(
FWaypoint Waypoint)
const;
78 UFUNCTION(BlueprintCallable)
79 TArray<FVector> ComputeLocations(
const TArray<FWaypoint> &Waypoints)
const;
83 UFUNCTION(BlueprintCallable)
84 FTransform ComputeTransform(
FWaypoint Waypoint)
const;
87 UFUNCTION(BlueprintCallable)
88 TArray<FTransform> ComputeTransforms(
const TArray<FWaypoint> &Waypoints)
const;
92 UFUNCTION(BlueprintCallable)
93 TArray<FWaypoint> GetNext(
FWaypoint Waypoint,
float Distance = 100.0f)
const;
97 TOptional<carla::road::Map>
Map;
This file contains definitions of common data structures used in traffic manager. ...
TOptional< carla::road::Map > Map
static EpisodeProxyPointerType::Shared Load(EpisodeProxyPointerType::Strong ptr)
Helper class for exposing CARLA OpenDrive API to blueprints.