12#include <util/ue-header-guard-begin.h>
13#include "CoreMinimal.h"
14#include <util/ue-header-guard-end.h>
16#include "StopSignComponent.generated.h"
18UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
19class CARLA_API UStopSignComponent :
public USignComponent
25 virtual
void InitializeSign(const
carla::
road::Map &Map) override;
29 void GenerateStopBox(const FTransform BoxTransform,
30 const FVector BoxSize);
32 void GenerateCheckBox(const FTransform BoxTransform,
37 UFUNCTION(BlueprintCallable)
38 void GiveWayIfPossible();
40 void DelayedGiveWay(
float Delay);
42 UFUNCTION(BlueprintCallable)
43 void OnOverlapBeginStopEffectBox(UPrimitiveComponent *OverlappedComp,
45 UPrimitiveComponent *OtherComp,
48 const FHitResult &SweepResult);
50 UFUNCTION(BlueprintCallable)
51 void OnOverlapEndStopEffectBox(UPrimitiveComponent *OverlappedComp,
53 UPrimitiveComponent *OtherComp,
54 int32 OtherBodyIndex);
56 UFUNCTION(BlueprintCallable)
57 void OnOverlapBeginStopCheckBox(UPrimitiveComponent *OverlappedComp,
59 UPrimitiveComponent *OtherComp,
62 const FHitResult &SweepResult);
64 UFUNCTION(BlueprintCallable)
65 void OnOverlapEndStopCheckBox(UPrimitiveComponent *OverlappedComp,
67 UPrimitiveComponent *OtherComp,
68 int32 OtherBodyIndex);
70 void RemoveSameVehicleInBothLists();
std::map< std::string, unsigned int > road
Base class for CARLA wheeled vehicles.
This file contains definitions of common data structures used in traffic manager.