9 #include "CoreMinimal.h" 11 #include "SpeedLimitComponent.generated.h" 13 UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
14 class CARLA_API USpeedLimitComponent :
public USignComponent
20 virtual
void InitializeSign(const
carla::road::Map &Map) override;
22 void SetSpeedLimit(
float Limit);
26 void GenerateSpeedBox(const FTransform BoxTransform,
float BoxSize);
28 UFUNCTION(BlueprintCallable)
34 const FHitResult &SweepResult);
36 UPROPERTY(Category = "Speed Limit", EditAnywhere)
37 float SpeedLimit = 30;
This file contains definitions of common data structures used in traffic manager. ...