CARLA
Loading...
Searching...
No Matches
UCarlaEpisode Class Reference

A simulation episode. More...

#include <CarlaEpisode.h>

Inheritance diagram for UCarlaEpisode:

Public Member Functions

void AddRosParentNames (FCarlaActor &Child)
 ROS 2: registers the ros_name of each of Child's ancestors as one of its parent frames.
void ApplySettings (const FEpisodeSettings &Settings)
void AttachActors (AActor *Child, AActor *Parent, EAttachmentType InAttachmentType=EAttachmentType::Rigid)
 Attach Child to Parent.
bool DestroyActor (AActor *Actor)
bool DestroyActor (carla::rpc::ActorId ActorId)
bool DrawWalkerIsCrosser ()
 Draw once per walker at navigation start: crosser or not.
FCarlaActor * FindCarlaActor (AActor *Actor) const
 Find the actor view of Actor.
FCarlaActor * FindCarlaActor (FCarlaActor::IdType ActorId)
 Find a Carla actor by id.
FCarlaActor * FindCarlaActorFromStream (carla::streaming::detail::stream_id_type StreamId)
 Find the Carla actor (sensor) that owns the stream StreamId, or nullptr.
const TArray< FActorDefinition > & GetActorDefinitions () const
 Return the list of actor definitions that are available to be spawned this episode.
FString GetActorDescriptionFromStream (carla::streaming::detail::stream_id_type StreamId)
 Get the description of the Carla actor (sensor) using specific stream id.
FActorRegistry & GetActorRegistry ()
const FActorRegistry & GetActorRegistry () const
FIntVector GetCurrentMapOrigin () const
double GetElapsedGameTime () const
 Game seconds since the start of this episode.
FFrameData & GetFrameData ()
const carla::geom::GeoProjection & GetGeoProjection () const
 Return the geo projection of the map loaded.
auto GetId () const
 Return the unique id of this episode.
const FString & GetMapName () const
FPrimaryWorldState & GetMultiGpuWorldState ()
 Multi-GPU primary: the world state the frames sent so far carried.
TArray< FTransform > GetRecommendedSpawnPoints () const
 Return the list of recommended spawn points for vehicles.
ACarlaRecorder * GetRecorder () const
CarlaReplayer * GetReplayer () const
FSensorManager & GetSensorManager ()
const FEpisodeSettings & GetSettings () const
APawn * GetSpectatorPawn () const
double GetVisualGameTime () const
 Visual game seconds.
AWeather * GetWeather () const
bool LoadNewEpisode (const FString &MapString, bool ResetSettings=true)
 Load a new map and start a new episode.
bool LoadNewOpendriveEpisode (const FString &OpenDriveString, const carla::rpc::OpendriveGenerationParameters &Params)
 Load a new map generating the mesh from OpenDRIVE data and start a new episode.
void MarkSceneLightChanged (int32 LightId)
 A scene light changed: Multi-GPU secondaries get its new state.
void PutActorToSleep (carla::rpc::ActorId ActorId)
AActor * ReSpawnActorWithInfo (const FTransform &Transform, FActorDescription thisActorDescription)
 Spawns an actor based on ActorDescription at Transform.
carla::rpc::Actor SerializeActor (AActor *Actor) const
 Create a serializable object describing the actor.
carla::rpc::Actor SerializeActor (FCarlaActor *CarlaActor) const
 Create a serializable object describing the actor.
carla::rpc::Actor SerializeActorWithPrimaryIds (AActor *Actor) const
 SerializeActor, with the ids the primary's clients know on a Multi-GPU secondary (for data a sensor streams to them).
void SetCurrentMapOrigin (const FIntVector &NewOrigin)
void SetPedestriansCrossFactor (float InCrossFactor)
 Probability that a walker whose navigation starts after this call is a "crosser" (may traverse crosswalk/road nav areas).
void SetPedestriansSeed (uint32 InSeed)
 Seed the RNG behind the crosser draw (and any future navigation randomness).
void SetRecorder (ACarlaRecorder *Rec)
void SetVisualGameTime (double Time)
AActor * SpawnActor (const FTransform &Transform, FActorDescription ActorDescription)
 Spawns an actor based on ActorDescription at Transform.
TPair< EActorSpawnResultStatus, FCarlaActor * > SpawnActorWithInfo (const FTransform &Transform, FActorDescription thisActorDescription, FCarlaActor::IdType DesiredId=0)
 Spawns an actor based on ActorDescription at Transform.
std::string StartRecorder (std::string name, bool AdditionalData, bool StopReplayer)
 UCarlaEpisode (const FObjectInitializer &ObjectInitializer)
void WakeActorUp (carla::rpc::ActorId ActorId)

Static Public Member Functions

static void ClearGeneratedWorldFiles ()
 Delete Saved/OpenDrive|Nav/OpenDriveMap.
static bool WaitForPendingNavigationBuild (double TimeoutSeconds)
 Return the name of the map loaded in this episode.

Public Attributes

bool bIsPrimaryServer = true

Private Member Functions

void EndPlay ()
void InitializeAtBeginPlay ()
bool IsWalkerInsideBuilding (const AWalkerBase &Walker) const
 True if the centre of Walker's capsule is inside the collision of a building or wall, where physics would push the walker out through the terrain (#10212).
void RegisterActorFactory (ACarlaActorFactory &ActorFactory)
bool SetActorCollisions (FCarlaActor &CarlaActor, bool bEnabled)
bool SetActorDead (FCarlaActor &CarlaActor)
bool SetActorSimulatePhysics (FCarlaActor &CarlaActor, bool bEnabled)
void SetTimers (double InElapsedGameTime, double InVisualGameTime)
 Multi-GPU secondary: adopt the primary's clocks for the frame being played.
void TickTimers (float DeltaSeconds)
std::pair< int, FCarlaActor & > TryToCreateReplayerActor (FVector &Location, FVector &Rotation, FActorDescription &ActorDesc, unsigned int desiredId)

Private Attributes

UActorDispatcher * ActorDispatcher = nullptr
FIntVector CurrentMapOrigin
double ElapsedGameTime = 0.0
FEpisodeSettings EpisodeSettings
FFrameData FrameData
const uint64 Id = 0u
carla::geom::GeoProjection MapGeoProjection
FString MapName
UMaterialParameterCollectionInstance * MaterialParameters = nullptr
FPrimaryWorldState MultiGpuWorldState
float PedestriansCrossFactor = 0.0f
FRandomStream PedestriansNavRNG = FRandomStream(0)
ACarlaRecorder * Recorder = nullptr
FSensorManager SensorManager
APawn * Spectator = nullptr
double VisualGameTime = 0.0
AWeather * Weather = nullptr

Friends

class AAutowareGameModeBase
class ACarlaGameModeBase
class FCarlaEngine

Detailed Description

A simulation episode.

Each time the level is restarted a new episode is created.

Definition at line 44 of file CarlaEpisode.h.

Constructor & Destructor Documentation

◆ UCarlaEpisode()

UCarlaEpisode::UCarlaEpisode ( const FObjectInitializer & ObjectInitializer)

Member Function Documentation

◆ AddRosParentNames()

void UCarlaEpisode::AddRosParentNames ( FCarlaActor & Child)

◆ ApplySettings()

◆ AttachActors()

◆ ClearGeneratedWorldFiles()

void UCarlaEpisode::ClearGeneratedWorldFiles ( )
static

Delete Saved/OpenDrive|Nav/OpenDriveMap.

  • left by a previous generated world (server startup and before each generation).

Definition at line 103 of file CarlaEpisode.cpp.

Referenced by LoadNewOpendriveEpisode(), and FCarlaEngine::NotifyInitGame().

◆ DestroyActor() [1/2]

◆ DestroyActor() [2/2]

bool UCarlaEpisode::DestroyActor ( carla::rpc::ActorId ActorId)
inline

Definition at line 284 of file CarlaEpisode.h.

References ActorDispatcher, bIsPrimaryServer, GetFrameData(), and Recorder.

◆ DrawWalkerIsCrosser()

bool UCarlaEpisode::DrawWalkerIsCrosser ( )
inline

Draw once per walker at navigation start: crosser or not.

Definition at line 391 of file CarlaEpisode.h.

References PedestriansCrossFactor, and PedestriansNavRNG.

Referenced by FCarlaServer::FPimpl::BindActions().

◆ EndPlay()

void UCarlaEpisode::EndPlay ( void )
private

◆ FindCarlaActor() [1/2]

FCarlaActor * UCarlaEpisode::FindCarlaActor ( AActor * Actor) const
inline

Find the actor view of Actor.

If the actor is not found or is pending kill, the returned view is invalid.

Definition at line 197 of file CarlaEpisode.h.

References ActorDispatcher.

◆ FindCarlaActor() [2/2]

FCarlaActor * UCarlaEpisode::FindCarlaActor ( FCarlaActor::IdType ActorId)
inline

Find a Carla actor by id.

If the actor is not found or is pending kill, the returned view is invalid.

Definition at line 188 of file CarlaEpisode.h.

References ActorDispatcher.

Referenced by AddRosParentNames(), ApplyTextureToActor(), AttachActors(), FCarlaServer::FPimpl::BindActions(), FCarlaEngine::BindReplayedSensor(), CarlaGetActorAngularVelocityInRadians(), ALargeMapManager::CheckActiveActors(), ALargeMapManager::CheckDormantActors(), ALargeMapManager::ConvertDormantToActiveActors(), FFrameData::CreateOrReuseActor(), ACarlaRecorder::CreateRecorderEventAdd(), FFrameData::CreateRecorderEventAdd(), DestroyActor(), ALargeMapManager::OnActorDestroyed(), FFrameData::PlayAppearances(), FFrameData::PlayFrameData(), FFrameData::PlayKinematics(), FFrameData::PlayPositions(), FFrameData::PlayVehicleParts(), CarlaReplayerHelper::ProcessReplayerAnimBiker(), FFrameData::ProcessReplayerAnimBiker(), CarlaReplayerHelper::ProcessReplayerAnimVehicle(), FFrameData::ProcessReplayerAnimVehicle(), CarlaReplayerHelper::ProcessReplayerAnimVehicleWheels(), CarlaReplayerHelper::ProcessReplayerDoorVehicle(), CarlaReplayerHelper::ProcessReplayerEventDel(), FFrameData::ProcessReplayerEventDel(), CarlaReplayerHelper::ProcessReplayerEventParent(), FFrameData::ProcessReplayerEventParent(), CarlaReplayerHelper::ProcessReplayerLightVehicle(), FFrameData::ProcessReplayerLightVehicle(), CarlaReplayerHelper::ProcessReplayerPosition(), FFrameData::ProcessReplayerPosition(), CarlaReplayerHelper::ProcessReplayerStateTrafficLight(), FFrameData::ProcessReplayerStateTrafficLight(), CarlaReplayerHelper::ProcessReplayerWalkerBones(), FCarlaEngine::RestorePlayedPoses(), SerializeActor(), CaService::SetActor(), CarlaReplayerHelper::SetCameraPosition(), FFrameData::SetCameraPosition(), ACustomV2XSensor::SetOwner(), CarlaReplayerHelper::SetWalkerSpeed(), FFrameData::SetWalkerSpeed(), and ACustomV2XSensor::UpdateStationId().

◆ FindCarlaActorFromStream()

FCarlaActor * UCarlaEpisode::FindCarlaActorFromStream ( carla::streaming::detail::stream_id_type StreamId)
inline

Find the Carla actor (sensor) that owns the stream StreamId, or nullptr.

Definition at line 211 of file CarlaEpisode.h.

References ActorDispatcher.

Referenced by FCarlaServer::FPimpl::BindActions(), and IsUnrenderableLocalSensorStream().

◆ GetActorDefinitions()

const TArray< FActorDefinition > & UCarlaEpisode::GetActorDefinitions ( ) const
inline

Return the list of actor definitions that are available to be spawned this episode.

Definition at line 139 of file CarlaEpisode.h.

References ActorDispatcher, and GetActorDefinitions().

Referenced by FCarlaServer::FPimpl::BindActions(), GetActorDefinitions(), and InitializeAtBeginPlay().

◆ GetActorDescriptionFromStream()

FString UCarlaEpisode::GetActorDescriptionFromStream ( carla::streaming::detail::stream_id_type StreamId)
inline

Get the description of the Carla actor (sensor) using specific stream id.

If the actor is not found returns an empty string

Definition at line 205 of file CarlaEpisode.h.

References ActorDispatcher.

Referenced by FCarlaServer::FPimpl::BindActions().

◆ GetActorRegistry() [1/2]

FActorRegistry & UCarlaEpisode::GetActorRegistry ( )
inline

Definition at line 175 of file CarlaEpisode.h.

References ActorDispatcher.

◆ GetActorRegistry() [2/2]

◆ GetCurrentMapOrigin()

FIntVector UCarlaEpisode::GetCurrentMapOrigin ( ) const
inline

◆ GetElapsedGameTime()

double UCarlaEpisode::GetElapsedGameTime ( ) const
inline

◆ GetFrameData()

FFrameData & UCarlaEpisode::GetFrameData ( )
inline

◆ GetGeoProjection()

const carla::geom::GeoProjection & UCarlaEpisode::GetGeoProjection ( ) const
inline

Return the geo projection of the map loaded.

Definition at line 149 of file CarlaEpisode.h.

References MapGeoProjection.

Referenced by AAutowareGnssSensor::BeginPlay(), AGnssSensor::BeginPlay(), and CaService::SetActor().

◆ GetId()

auto UCarlaEpisode::GetId ( ) const
inline

Return the unique id of this episode.

Definition at line 92 of file CarlaEpisode.h.

References Id.

Referenced by FCarlaServer::FPimpl::BindActions(), and FWorldObserver_Serialize().

◆ GetMapName()

const FString & UCarlaEpisode::GetMapName ( ) const
inline

◆ GetMultiGpuWorldState()

FPrimaryWorldState & UCarlaEpisode::GetMultiGpuWorldState ( )
inline

Multi-GPU primary: the world state the frames sent so far carried.

Definition at line 358 of file CarlaEpisode.h.

References MultiGpuWorldState.

Referenced by FFrameData::AddActorAppearance(), FFrameData::AddWorldState(), and FFrameData::GetFrameData().

◆ GetRecommendedSpawnPoints()

TArray< FTransform > UCarlaEpisode::GetRecommendedSpawnPoints ( ) const

Return the list of recommended spawn points for vehicles.

Definition at line 357 of file CarlaEpisode.cpp.

References ACarlaGameModeBase, UCarlaStatics::GetGameMode(), and ACarlaGameModeBase::GetSpawnPointsTransforms().

Referenced by FCarlaServer::FPimpl::BindActions().

◆ GetRecorder()

ACarlaRecorder * UCarlaEpisode::GetRecorder ( ) const
inline

Definition at line 334 of file CarlaEpisode.h.

References Recorder.

Referenced by FCarlaServer::FPimpl::BindActions(), and FCarlaEngine::OnPostTick().

◆ GetReplayer()

CarlaReplayer * UCarlaEpisode::GetReplayer ( ) const
inline

Definition at line 344 of file CarlaEpisode.h.

References Recorder.

Referenced by ACarlaRecorder::Ticking().

◆ GetSensorManager()

FSensorManager & UCarlaEpisode::GetSensorManager ( )
inline

◆ GetSettings()

◆ GetSpectatorPawn()

APawn * UCarlaEpisode::GetSpectatorPawn ( ) const
inline

◆ GetVisualGameTime()

double UCarlaEpisode::GetVisualGameTime ( ) const
inline

Visual game seconds.

Definition at line 120 of file CarlaEpisode.h.

References VisualGameTime.

Referenced by FCarlaEngine::OnPostTick(), and ACarlaRecorder::Ticking().

◆ GetWeather()

◆ InitializeAtBeginPlay()

◆ IsWalkerInsideBuilding()

bool UCarlaEpisode::IsWalkerInsideBuilding ( const AWalkerBase & Walker) const
private

True if the centre of Walker's capsule is inside the collision of a building or wall, where physics would push the walker out through the terrain (#10212).

Definition at line 601 of file CarlaEpisode.cpp.

References carla::rpc::Buildings, ATagger::GetTagOfTaggedComponent(), and carla::rpc::Walls.

Referenced by FCarlaEngine, and SpawnActorWithInfo().

◆ LoadNewEpisode()

◆ LoadNewOpendriveEpisode()

bool UCarlaEpisode::LoadNewOpendriveEpisode ( const FString & OpenDriveString,
const carla::rpc::OpendriveGenerationParameters & Params )

◆ MarkSceneLightChanged()

void UCarlaEpisode::MarkSceneLightChanged ( int32 LightId)
inline

A scene light changed: Multi-GPU secondaries get its new state.

Definition at line 361 of file CarlaEpisode.h.

References bIsPrimaryServer, and MultiGpuWorldState.

◆ PutActorToSleep()

◆ RegisterActorFactory()

void UCarlaEpisode::RegisterActorFactory ( ACarlaActorFactory & ActorFactory)
inlineprivate

Definition at line 413 of file CarlaEpisode.h.

References ActorDispatcher.

Referenced by ACarlaGameModeBase::SpawnActorFactories().

◆ ReSpawnActorWithInfo()

AActor * UCarlaEpisode::ReSpawnActorWithInfo ( const FTransform & Transform,
FActorDescription thisActorDescription )
inline

Spawns an actor based on ActorDescription at Transform.

Returns
the actor to be spawned

Definition at line 234 of file CarlaEpisode.h.

References ActorDispatcher, and Recorder.

Referenced by FActorData::RespawnActor().

◆ SerializeActor() [1/2]

carla::rpc::Actor UCarlaEpisode::SerializeActor ( AActor * Actor) const

◆ SerializeActor() [2/2]

carla::rpc::Actor UCarlaEpisode::SerializeActor ( FCarlaActor * CarlaActor) const

Create a serializable object describing the actor.

Definition at line 364 of file CarlaEpisode.cpp.

References FCarlaActor::GetActorInfo(), FCarlaActor::GetParent(), and FActorInfo::SerializedData.

Referenced by FCarlaServer::FPimpl::BindActions(), SerializeActor(), and SerializeActorWithPrimaryIds().

◆ SerializeActorWithPrimaryIds()

carla::rpc::Actor UCarlaEpisode::SerializeActorWithPrimaryIds ( AActor * Actor) const

SerializeActor, with the ids the primary's clients know on a Multi-GPU secondary (for data a sensor streams to them).

Definition at line 383 of file CarlaEpisode.cpp.

References ActorDispatcher, bIsPrimaryServer, FActorRegistry::FindCarlaActor(), UActorDispatcher::GetActorRegistry(), carla::rpc::Actor::id, carla::rpc::Actor::parent_id, and SerializeActor().

◆ SetActorCollisions()

bool UCarlaEpisode::SetActorCollisions ( FCarlaActor & CarlaActor,
bool bEnabled )
private

◆ SetActorDead()

bool UCarlaEpisode::SetActorDead ( FCarlaActor & CarlaActor)
private

◆ SetActorSimulatePhysics()

bool UCarlaEpisode::SetActorSimulatePhysics ( FCarlaActor & CarlaActor,
bool bEnabled )
private

◆ SetCurrentMapOrigin()

void UCarlaEpisode::SetCurrentMapOrigin ( const FIntVector & NewOrigin)
inline

Definition at line 353 of file CarlaEpisode.h.

References CurrentMapOrigin.

Referenced by ALargeMapManager::PostWorldOriginOffset().

◆ SetPedestriansCrossFactor()

void UCarlaEpisode::SetPedestriansCrossFactor ( float InCrossFactor)
inline

Probability that a walker whose navigation starts after this call is a "crosser" (may traverse crosswalk/road nav areas).

Legacy semantics of carla.World.set_pedestrians_cross_factor.

Definition at line 378 of file CarlaEpisode.h.

References PedestriansCrossFactor.

Referenced by FCarlaServer::FPimpl::BindActions().

◆ SetPedestriansSeed()

void UCarlaEpisode::SetPedestriansSeed ( uint32 InSeed)
inline

Seed the RNG behind the crosser draw (and any future navigation randomness).

Deterministic given the same seed and start order.

Definition at line 385 of file CarlaEpisode.h.

References PedestriansNavRNG.

Referenced by FCarlaServer::FPimpl::BindActions().

◆ SetRecorder()

void UCarlaEpisode::SetRecorder ( ACarlaRecorder * Rec)
inline

Definition at line 339 of file CarlaEpisode.h.

References Recorder.

Referenced by ACarlaGameModeBase::InitGame(), and FCarlaEngine::NotifyBeginEpisode().

◆ SetTimers()

void UCarlaEpisode::SetTimers ( double InElapsedGameTime,
double InVisualGameTime )
inlineprivate

Multi-GPU secondary: adopt the primary's clocks for the frame being played.

Absolute, not accumulated, so frames a secondary never played (while it was loading) cause no drift.

Definition at line 445 of file CarlaEpisode.h.

References ElapsedGameTime, GetElapsedGameTime(), carla::ros2::ROS2::GetInstance(), and SetVisualGameTime().

Referenced by FCarlaEngine::PlayPrimaryFrame().

◆ SetVisualGameTime()

void UCarlaEpisode::SetVisualGameTime ( double Time)
inline

Definition at line 125 of file CarlaEpisode.h.

References MaterialParameters, and VisualGameTime.

Referenced by CarlaReplayer::ProcessVisualTime(), SetTimers(), and TickTimers().

◆ SpawnActor()

AActor * UCarlaEpisode::SpawnActor ( const FTransform & Transform,
FActorDescription ActorDescription )
inline

Spawns an actor based on ActorDescription at Transform.

To properly despawn an actor created with this function call DestroyActor.

Returns
nullptr on failure.
Note
Special overload for blueprints.

Definition at line 255 of file CarlaEpisode.h.

References SpawnActor(), and SpawnActorWithInfo().

Referenced by FTrafficLightData::RespawnActor(), FTrafficSignData::RespawnActor(), and SpawnActor().

◆ SpawnActorWithInfo()

TPair< EActorSpawnResultStatus, FCarlaActor * > UCarlaEpisode::SpawnActorWithInfo ( const FTransform & Transform,
FActorDescription thisActorDescription,
FCarlaActor::IdType DesiredId = 0 )

◆ StartRecorder()

std::string UCarlaEpisode::StartRecorder ( std::string name,
bool AdditionalData,
bool StopReplayer )

Definition at line 585 of file CarlaEpisode.cpp.

References MapName, Recorder, and ACarlaRecorder::Start().

Referenced by FCarlaServer::FPimpl::BindActions().

◆ TickTimers()

void UCarlaEpisode::TickTimers ( float DeltaSeconds)
inlineprivate

◆ TryToCreateReplayerActor()

std::pair< int, FCarlaActor & > UCarlaEpisode::TryToCreateReplayerActor ( FVector & Location,
FVector & Rotation,
FActorDescription & ActorDesc,
unsigned int desiredId )
private

◆ WaitForPendingNavigationBuild()

bool UCarlaEpisode::WaitForPendingNavigationBuild ( double TimeoutSeconds)
static

Return the name of the map loaded in this episode.

Block (game thread, bounded) until the RecastBuilder run started by the last generate_opendrive_world has finished. Returns whether the navmesh was built (true when no build is pending).

Definition at line 74 of file CarlaEpisode.cpp.

References GNavBuildLock, GNavBuildPending, and GNavBuildSucceeded.

Referenced by FCarlaServer::FPimpl::BindActions(), and LoadNewOpendriveEpisode().

◆ WakeActorUp()

void UCarlaEpisode::WakeActorUp ( carla::rpc::ActorId ActorId)
inline

Definition at line 314 of file CarlaEpisode.h.

References ActorDispatcher.

Referenced by ALargeMapManager::ConvertDormantToActiveActors().

◆ AAutowareGameModeBase

friend class AAutowareGameModeBase
friend

Definition at line 401 of file CarlaEpisode.h.

References AAutowareGameModeBase.

Referenced by AAutowareGameModeBase.

◆ ACarlaGameModeBase

friend class ACarlaGameModeBase
friend

Definition at line 400 of file CarlaEpisode.h.

References ACarlaGameModeBase.

Referenced by ACarlaGameModeBase, and GetRecommendedSpawnPoints().

◆ FCarlaEngine

friend class FCarlaEngine
friend

Definition at line 402 of file CarlaEpisode.h.

References EndPlay(), FCarlaEngine, InitializeAtBeginPlay(), and IsWalkerInsideBuilding().

Referenced by FCarlaEngine, and LoadNewEpisode().

Member Data Documentation

◆ ActorDispatcher

◆ bIsPrimaryServer

◆ CurrentMapOrigin

FIntVector UCarlaEpisode::CurrentMapOrigin
private

Definition at line 486 of file CarlaEpisode.h.

Referenced by AttachActors(), GetCurrentMapOrigin(), and SetCurrentMapOrigin().

◆ ElapsedGameTime

double UCarlaEpisode::ElapsedGameTime = 0.0
private

Definition at line 459 of file CarlaEpisode.h.

Referenced by GetElapsedGameTime(), SetTimers(), and TickTimers().

◆ EpisodeSettings

FEpisodeSettings UCarlaEpisode::EpisodeSettings
private

◆ FrameData

FFrameData UCarlaEpisode::FrameData
private

Definition at line 492 of file CarlaEpisode.h.

Referenced by GetFrameData(), and UCarlaEpisode().

◆ Id

const uint64 UCarlaEpisode::Id = 0u
private

Definition at line 456 of file CarlaEpisode.h.

Referenced by GetId(), and UCarlaEpisode().

◆ MapGeoProjection

carla::geom::GeoProjection UCarlaEpisode::MapGeoProjection
private

◆ MapName

FString UCarlaEpisode::MapName
private

Definition at line 465 of file CarlaEpisode.h.

Referenced by GetMapName(), ACarlaGameModeBase::InitGame(), and StartRecorder().

◆ MaterialParameters

UMaterialParameterCollectionInstance* UCarlaEpisode::MaterialParameters = nullptr
private

Definition at line 480 of file CarlaEpisode.h.

Referenced by InitializeAtBeginPlay(), and SetVisualGameTime().

◆ MultiGpuWorldState

FPrimaryWorldState UCarlaEpisode::MultiGpuWorldState
private

Definition at line 494 of file CarlaEpisode.h.

Referenced by GetMultiGpuWorldState(), and MarkSceneLightChanged().

◆ PedestriansCrossFactor

float UCarlaEpisode::PedestriansCrossFactor = 0.0f
private

Definition at line 488 of file CarlaEpisode.h.

Referenced by DrawWalkerIsCrosser(), and SetPedestriansCrossFactor().

◆ PedestriansNavRNG

FRandomStream UCarlaEpisode::PedestriansNavRNG = FRandomStream(0)
private

Definition at line 490 of file CarlaEpisode.h.

Referenced by DrawWalkerIsCrosser(), and SetPedestriansSeed().

◆ Recorder

ACarlaRecorder* UCarlaEpisode::Recorder = nullptr
private

◆ SensorManager

FSensorManager UCarlaEpisode::SensorManager
private

Definition at line 496 of file CarlaEpisode.h.

Referenced by GetSensorManager().

◆ Spectator

APawn* UCarlaEpisode::Spectator = nullptr
private

Definition at line 474 of file CarlaEpisode.h.

Referenced by GetSpectatorPawn(), and InitializeAtBeginPlay().

◆ VisualGameTime

double UCarlaEpisode::VisualGameTime = 0.0
private

Definition at line 462 of file CarlaEpisode.h.

Referenced by GetVisualGameTime(), SetVisualGameTime(), and TickTimers().

◆ Weather

AWeather* UCarlaEpisode::Weather = nullptr
private

The documentation for this class was generated from the following files: